Condividi tramite


Controls Tab, Options Dialog Box

Contains options to register visual class libraries for specifying template classes on the Forms Tab, Options Dialog Box. These options also specify what can be selected from the View Classes button on the Form Controls Toolbar to make adding custom controls to forms easy.

When you choose Set As Default — which appears on every tab in the dialog box — Visual FoxPro saves the option settings in the registry (system Windows registration database).

  • Visual class libraries
    Specifies that class libraries (.vcx files) are displayed in the Selected list.

  • ActiveX controls
    Specifies that ActiveX controls are displayed in the Selected list.

  • Selected
    Lists files that you can add or remove to your Visual FoxPro environment. If you have chosen Visual class libraries, the list displays the .vcx files that you have already added, and specifies which libraries appear on the shortcut menu when you click the View Classes button on the Form Controls Toolbar.

    If you have chosen ActiveX controls, the list displays the classes of objects and controls available on your system. ActiveX objects and controls that you have already added are checked, and appear on the shortcut menu when you click the View Classes button on the FormControls toolbar.

  • Label
    Appears when the Visual class libraries option is selected. Specifies the name for the class library. By default, Visual FoxPro uses the file name without the .vcx extension.

  • Library
    Appears when the Visual class libraries option is selected. Displays the path and file name for of the .vcx files for the currently selected class library.

  • Show
    Appears when the ActiveX is selected. Makes it possible for you to specify what types of ActiveX objects appear in the Selected list.

    • Insertable Objects Specifies that the Selected list displays classes of objects that you can insert as ActiveX objects into Visual FoxPro applications.
    • Controls Specifies that the Selected list displays ActiveX controls.
  • Add
    Choose this button to display the Open Dialog Box so you can add libraries (.vcx files) or ActiveX controls to the Selected list. Adding an ActiveX control also registers it so it will be available in the list of controls in the Insert Object Dialog Box and in other applications.

  • Remove
    Appears when the Visual class libraries option is selected. Choose this button to remove the selected library from the Selected box.

See Also

Forms Tab, Options Dialog Box | Insert Object Dialog Box | Open Dialog Box | Options Dialog Box