>How can I refeance the object name as a variable?. I have several shapes on my form. I want to loop through them and turn them a diferent color one at a time.
FOREACH loControl INTHISFORM.ControlsIF loControl.BaseClass = "Shape"
loControl.BackColor = RGB( 255, 0, 0 )
** anything else you want to do to the control hereENDIFENDFOR