CommandButton_Toolbar Class Properties and Methods

Properties

The following table lists the class properties. The properties listed include the standard Visual FoxPro class properties that the VPM Enterprise class uses and the VPM Enterprise custom properties. Where appropriate, the Comments column of the table describes a property and provides suggestions for its use.

Property & Initial Value

Comments

Standard Properties Used:

 

Caption = “ ”

 

Height = 22

 

Name = “commandbutton_toolbar”

 

Width = 22

 

Custom Properties:

 

cControlID = “”

Used to implement toolbar control customization when the Init event calls the SetToolbarControlProperties method of the application object.

lCancelClick = .F.

For internal use. Prevents the button from being clicked if the active form does not use the toolbar that contains this button.

Methods

The following table lists the class methods. The methods listed include the standard Visual FoxPro class methods that the VPM Enterprise class uses and the VPM Enterprise custom methods. Where appropriate, the Comments column of the table describes a method and provides suggestions for its use.

Method

Comments

Standard Methods Used:

 

Init

Calls the SetToolbarControlProperties method of the application object.

MouseDown

Prevents the button from being clicked if the active form does not use the toolbar that contains this button.

MouseUp

If the user attempts to click this button when the active form does not use the toolbar that contains this button, this method prevents the visual appearance that it was depressed.

Custom Methods:

None

More:

EditBox_ Class Properties and Methods