This control is used to begin a process. Tapping the COMMAND Button executes the command that is written into its MACRO event procedure.
NOTE: The current version of abcDB has a maximum of 40 labels, 40 textboxes, 7 dropdowns, 6 buttons, 14 checkboxes, 1 grid, 4 datepickers, 1 image, 1 scribble and 1 tab per form.
The Command control supports the following properties.
|
Property
Name |
Description |
|
Caption |
The text that this button will display. |
|
Default Button? |
If a command button is chosen to be the DEFAULT button, it will automatically be ‘tapped’ whenever a carriage return is enter. This is very useful when using BARCODE Scanners. Most barcode scanners can be programmed to send ‘carriage returns’ after the scan. As a result, you can add a DEFAULT Command button to your form, and the abcDB™ ‘script’ code contained in the MACRO event of that button will be executed whenever you ‘scan’ a new item. |
|
Font |
The FONT this COMMAND Button will use. |
|
Font Size |
The SIZE of the font this COMMAND Button will use. |
|
Font Bold |
Specifies if the font will be displayed in BOLD. |
|
Font Italic |
Specifies if the font will be displayed in ITALIC. |
|
Font Underline |
Specifies if the font will be displayed in UNDERLINE. |
|
Fore Color |
The foreground color of this COMMAND Button. |
|
Tag |
You can use the Tag property to specify or determine the string that identifies the name of a COMMAND Button. |
|
Visible |
Specifies whether this COMMAND Button will be visible or invisible |
|
Height |
The height of this COMMAND Button in Twips* |
|
Width |
The width of this COMMAND Button in Twips* |
|
Left |
The horizontal location of the top-left corner of this COMMAND Button in Twips* |
|
Top |
The vertical location of the top-left corner of this COMMAND Button in Twips* |
TabPage
If a tab-control is present on the form, this
property determines which 'page' of the tab this control will be located
on. 0-Not on tab.
The COMMAND control supports the following EVENTS.
|
Event Name |
Description |
|
Macro |
This event is executed whenever this COMMAND button is ‘tapped’. |