How to: Add Controls to a Wizard-Generated Form
|Visual FoxPro 9.0 SP2|
|How to: Add Controls to a Wizard-Generated Form|
If you create a form with one of the form wizards and then want to add controls to it, you can match the style of the existing controls by using the controls in the wizard controls library, Wizstyle.vcx.
When you open the wizards control library, wizard-style controls (such as
embossedmemo, and so on) are available in the Form Controls toolbar. To find out which control to use, select an existing control and note its class and class library. For example, a standard wizard field would be in the
Standardfield class, found in Wizstyle.vcx.
Use ToolTips on the Form Controls toolbar to help you identify class names.
To match controls in a wizard-generated form
In the, open the form.
From the Form Controls toolbar, choose the View Classes button and choose Add.
In the Open dialog box, locate Wizstyle.vcx in the Wizards subdirectory and choose OK.
In the Form Controls toolbar, select the control that corresponds to an existing control in the form and drag in the form to add it.
If you move a form to a new directory or another system, you should move the control library associated with the form along with it.
Comment or report problem with topic