Get Command State

Reads the enabled and checked state of a standard command or form command and stores it in a variable of type String.

These are possible result values for the enabled state:

  • "enabled"
  • "disabled"
  • "invisible"

These are possible result values for the checked state:

  • "true"
  • "false"

These are possible command names:

  • "CloseSession"
  • "SaveAndCloseSession"
  • "FirstRecords"
  • "PrevRecords"
  • "NextRecords"
  • "LastRecords"
  • "NewView"
  • "FirstView"
  • "PrevView"
  • "NextView"
  • "LastView"
  • "Delete"
  • "Find"
  • "Save"
  • "Print"
  • "New"
  • "Duplicate"
  • "RevertToSaved"
  • "SelectAll"
  • "DeselectAll"
  • "Open"
  • "OpenReadonly"
  • "Refresh"
  • <form command name>

Fields in the editor

Name
The command to check.
Store enabled state in
The variable to store the enabled state.
Store checked state in
The variable to store the checked state.