The VPM Enterprise control classes are the blueprints for the controls you place on forms. The VPM Enterprise control classes contain properties and methods that provide unique functionality for controls. The VPM Enterprise classes for data-bound controls (for example, the textbox control) link the controls to VPM Enterprise’s field-level security, field-level data dictionary properties and field validation.
The VPM Enterprise-level control classes are located in the VPMCTRLS.VCX class library. The project-level control classes are located in the PROCTRLS.VCX class library. See the “Setting Up VFP Options for Form and Control Classes” section in the VPM Enterprise Classes chapter in the User’s Guide for a discussion of how to choose the controls class level to use.
The table below lists and shows the hierarchy of the VPM Enterprise control classes.
|
VPM Enterprise Control Classes | ||
|
checkbox_ |
|
Base CheckBox class |
|
combobox_ |
|
Base ComboBox class. |
|
commandbutton_ |
|
Base CommandButton class. |
|
|
commandbutton_toolbar |
CommandButton class for toolbar buttons. |
|
container_ |
|
Base Container class. |
|
control_ |
|
Base Control class. |
|
cursor_ |
|
Base Cursor class. |
|
dataenvironment_ |
|
Base DataEnvironment class. |
|
editbox_ |
|
Base EditBox class. |
|
grid_ |
|
Base Grid class. |
|
|
grid_toolbar |
Grid class for use with a toolbar. |
|
grid_list |
|
Record selection grid class. |
|
hyperlink_ |
|
Base Hyperlink class. |
|
image_ |
|
Base Image class. |
|
label_ |
|
Base Label class. |
|
|
label_group |
Label class used to identify a grouping of controls. |
|
line_ |
|
Base Line class. |
|
listbox_ |
|
Base ListBox class. |
|
onform_toolbar |
|
Container class with on-form toolbar. |
|
|
onform_toolbar_edit |
On-form toolbar with Edit button. |
|
optionbutton_ |
|
Base OptionButton class. |
|
optiongroup_ |
|
Base OptionGroup class. |
|
page_ |
|
Base Page class. |
|
pageframe_ |
|
Base PageFrame class. |
|
separator_ |
|
Base Separator class. |
|
shape_ |
|
Base Shape class. |
|
spinner_ |
|
Base Spinner class. |
|
textbox_ |
|
Base TextBox class. |
|
textbox_output |
|
Base output Textbox class. |
|
timer_ |
|
Base Timer class. |
Class Browser
If you want to thoroughly explore a control class, open the class library in the Class Browser, which you can run from the VPM Enterprise Tools menu. Select the class name in the class list. Click on the Class Browser’s View Class Code button to have the Class Browser export the class code to a Window. Then, print the class code. As you view the class code, properties will appear like memory variables and methods will appear as procedures.
Control Classes Properties and Methods
The remaining sections of this chapter describe the properties and methods of the VPM Enterprise control classes listed above that provide custom (non-default) functionality.
CheckBox_ Class Properties and Methods