loText = thisform.Text1 && get a reference to the control loText.BackColor = rgb(255,0,0) && manipulate the objectThe above kind of code is more useful and common in VFP.
>dim x as string > >' any of the following line of codes is valid >set x = Form.Textbox >set x = Form.Textbox.Text > >' both will return the value of the default property which is .Text >