SETCONTROLMODE

From STX Wiki
< Programmer Guide‎ | Macro Library
Revision as of 17:31, 18 November 2010 by Admin (talk | contribs) (1 revision: Initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

SETCONTROLMODE

Apply attribute settings to dialog controls. This function can be used to change the mode, caption and font of dialog controls.

Usage:

SETCONTROLMODE dlg ctl1=attr1 [... ctlX=attrX]

Parameters:
dlg
The dialog item name.
ctl
The control index or range:

c1-c2 : apply settings to controls c1 to c2 c1:n: apply settings to controls c1 to c1+n-1

attr
The mode[,text,zoom,style].

mode control mode (*|hidden|visible|enabled) text control capture (* = do not change) zoom font zoom factor (>= 0) style font style (N=normal,B=bold,U=underline)

Result:

none

Navigation menu

Personal tools