Programmer Guide/Shell Items/Dialog/Dialog Controls/Static
From STX Wiki
< Programmer Guide | Shell Items | Dialog | Dialog Controls
Jump to navigationJump to search
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.
|
Right|Center | 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.