TIER Multi-Commands Quick Reference
Overview
This document is a quick reference to multi-commands that can be added to a TIER button.
Multi-Commands
| Common Commands | ListView Commands | Form Commands | Other Commands |
|---|---|---|---|
| .Clear | .SaveSelectedRows | Form.Save | // |
| .Click | .SaveUnSelectedRows | Form.Close | Message= |
| .Refresh | .SaveAllRows | Form.Cancel | F5 |
| .Enable | .SelectAll | Form.ReadOnly | VerifySignature() |
| .Disable | .UnSelectAll | Form.ReadWrite | ConfirmToContinueMsg= |
| .Check | .SelectFirst | Form.Open() | ScanDoc |
| .UnCheck | .SelectLast | OpenScanDoc | |
| .Show | .SelectNext | WebService() | |
| .Hide | .SelectPrior | ||
| .Inc() | |||
| .Dec() | |||
| .SetFocus |
| Section Names | Memo Commands | TabSheet Commands |
|---|---|---|
| [BeforeAction] | .SaveToFile() | .TabVisible() |
| [AfterAction] |
Points to remember
- All commands are case-sensitive (for readability and faster processing).
- If a section name is misspelled, all commands of that section get ignored, without a warning message.
- Section names group the commands and decide if they have to be executed before or after the assigned button action.
- If a button is only used for multi-commands, set its Action property to baNone.
- Commands that begin with a dot have to be assigned to a control name, for example, EdtFirstName.Clear or BtnAnotherButton.Click
- Commands that end with a parenthesis accept parameters. The parameters are usually the names of another control from the same form.
- Commands that end with the equals sign = take text. Use the caret ^ for line breaks.
- If a button is named as OnActivate, that button gets clicked automatically whenever the form becomes active. (Use the button sparingly).
- If a Save button is named as BtnSave, clicking the Save icon clicks the BtnSave.
