>How can I change width of textbox2, textbox4, textbox5, textbox7 and texbox9 at once? Can I somehow replace # with variable in MyForm.textbox3.width=150
At design time: You can do this in the visual designer by select all the text boxes (either lassoo, or shift+click) and set the property. When you have multiple objects selected the property sheet only shows properties that all have in common - so setting the width will affect all selected items.
At run time there is really no way to pick and choose - as Mike said you can use ThisForm.Setall() but that really does set all objects of the specified class (note, the class specified may be a custom sub-class, it doesn't have to be a base class).
----
Andy Kramek
Visual FoxPro MVP