Software Customisation
Reference Manual
Summary of Objects, Members and Methods
:
Gadget Syntax Graphs
: Setting Up the Gadget’s Tagwidth (TEXT, TOGGLE and OPTION): <fgtagw>
Setting Up the Gadget’s Tagwidth (TEXT, TOGGLE and OPTION): <fgtagw>
The TAGWIDTH specifies the size of the gadget’s tag field in grid width units including any padding space, regardless of the actual tag string. Tagwidth is not needed for gadgets with an explicit area specification (width and height, lines or length). FRAME, LIST, SELECTOR, TEXTPANE and PARAGRAPH can always force an explicit width.
The syntax graph <fgtagw> defines the Tag specification
>-- <fgtagw> --+- TAGWIDth val -+-------------.
‘----------------‘-- tagtext -‑‘-->
The <fgtagw> graph supports both the simple ‘tagtext’ setting and/or the specification of the maximum width of any tag.
If the tag width is not explicitly given then it is assumed to be the number of characters in the ‘tagtext’ string multiplied by the horizontal grid size (the notional character width for the font).
You can specify the tag width without specifying any tagtext at definition time; this can be added at run time.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.