Programmer Guide/Shell Items/Dialog/Dialog Controls/Static

From STX Wiki
< Programmer Guide‎ | Shell Items‎ | Dialog‎ | Dialog Controls
Revision as of 13:38, 7 November 2018 by Jw (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Dialog control static.png

SET dialog index STATIC row col text [ *|var1 width height * fg bg font] [ /L|R|C ]

Note that it is not possible to connect a value item to a static control using the command SET dialog index INPUT output.

text The text to display in the static control.
var1 An optional variable to be used instead of text. If specified, the static's caption can be updated set to the content of var1 by using the option /Write. Note that you can update the text even if you do not use a variable, by using the SET dialog $#controlIndex * 'the new static text' command.
/L, /R, or /C Set the caption text alignment inside the static control.

See Common arguments for a description of the parameters not described here.

You can display an image in a static control using the SET dialog BITMAP command.

Navigation menu

Personal tools