Form file concepts / Form items |
An action view defines a form item that can trigger an action in the program.
TOOLBAR ITEM close (TEXT="Close") END
The position and size of the element is defined with an item tag, while the rendering and behavior is defined in the ATTRIBUTES section. Both parts are bound by the name of the item tag. The item tag name is local to the .per file and is not available at runtime.
LAYOUT GRID { ... [b_close ] } END END ... ATTRIBUTES BUTTON b_close: close, TEXT="Close"; END
LAYOUT STACK GROUP group1 ( TEXT="Customer" ) ... BUTTON print, TEXT="Print Report", IMAGE="printer"; ...