Example: TOOLBAR in custform.per
The toolbar in this example will display buttons for query,
next, previous, and quit actions.
Form custform.per:
1 TOOLBAR
2 ITEM query (TEXT="Find",IMAGE="find")
3 ITEM previous
4 ITEM next
5 SEPARATOR
6 ITEM quit (TEXT="Quit", COMMENT="Exit the program", IMAGE="exit")
7 ENDNote:
- Line
2: TheITEMcommand-identifierquerywill be bound to theMENUstatement actionquerycreated by theON ACTION querytrigger. The word"query"must be identical in both theTOOLBAR ITEMandON ACTIONclause, and must always be in lowercase. The other action-identifiers are similarly bound. - Line
6: Decoration attributes such asTEXTare defined for thequititem. For actions such aspreviousandnexthave default attributes defined in the action defaults file (FGLDIR/lib/default.4ad)