Controls Tab, Options Dialog Box

See Also

Contains options to register visual class libraries for specifying template classes on the Forms tab of the 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).

Tab Options

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 Form Controls 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. Allows you to specify what types of ActiveX objects appear in the Selected list.

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.