Controls
The work with controls in VBA differs from the one in VB6.
Description of control's name change in VBA
If you changed the name of the control and want to change it on the whole form, you should select the old control name in the text editor and press button on the menu panel.

In the "New Name" field there is the list of all current Control names used on the form. After choosing the "Control name" (New Name), press Yes button and old "Control name" will be changed to the new "Control name" in all procedures of the form.
Description of control's name change in VB6
There is the flexible system of adding and changing the names of the controls.
When adding the new control you will receive the following form:

Depending on what control you use, you will be suggested generated control name. The prefix of the control can be adjusted. The adjustment should be done in the Settings->"List Tabs"=Control Type. Press "Standards" button to go to the Settings.
When changing the control you will receive the following form:

Press Yes button and old "Control name" will be changed to the new "Control name" in all procedures of the form.
|