Language Reference Guide : 4. System Classes : ControlButton Class
 
Share this page                  
ControlButton Class
The ControlButton class represents a user-definable button that you can use to provide menu operations. Most commonly used in table fields for the operations menu, control buttons can also be coded independently of table fields and populated with any menu items.
In Workbench, you can create table fields to which you can add a control button that provides menu operations for inserting and deleting a row or deleting all rows from the given table field array by setting the HasControlButton attribute to TRUE using the Property Inspector or using 4GL. You can modify the control button's menu by adding items, deleting items, or changing existing items to suit your needs.
The only valid FocusBehavior settings for control buttons are:
FT_SETVALUE
FT_NOSETVALUE
Descriptions of system constant values and their numeric equivalents are listed in FocusBehavior Settings for ActiveField, ControlButton, and MenuItem.
For more information about customizing and using control buttons, see the Programming Guide.
Inherits From
Object Class
FieldObject Class
FormField Class
ActiveField Class
ScalarField Class
ButtonField Class
PopupButton Class
Inherited By
None
Attributes
None
Methods
None