Defining a Frame
- Last UpdatedOct 27, 2022
- 1 minute read
You define a frame using a command sequence beginning with the command frame and ending in exit.
All the gadgets defined after the frame command and before exit will be included in and contained by the frame.
The following example defines Frame1 and its gadget collection. The frame sub-type <frame-type> is either one of the supported types TABSET, TOOLBAR, PANEL, FOLDUPPANEL, or omitted for a normal or tabbed page frame.
frame .frame1 <frame-type> '<frame-tag>'
paragraph .Message1 text 'This frame contains toggle buttons'
PATH DOWN
toggle .Bold 'Bold'
PATH RIGHT
toggle .Italic 'Italic'
toggle .Underline 'Underline'
exit