Scrollbar Controls |
|
V_SCROLLBAR ctl_id, @(col,ln,wth,ht) = contents$ [, ctrlopt ]
V_SCROLLBAR ctl_id WINDOW [ ,ctrlopt ]
V_SCROLLBAR { REMOVE | DISABLE | ENABLE } ctl_id [, ERR= stmtref ]
V_SCROLLBAR {GOTO | HIDE | SHOW} ctl_id [,ERR= stmtref ]
V_SCROLLBAR READ ctl_id, setting, max, [ rgn_chg ][ ,arrow_chg ][,ERR= stmtref ]
V_SCROLLBAR WRITE ctl_id, marker, max [,ERR= stmtref ]
H_SCROLLBAR ctl_id, @(col,ln,wth,ht) = contents$ [, ctrlopt ] ...
Vertical and horizontal scrollbars are controls that can be used to create a slider, spinner, and progress bar object. For syntax details, see H_SCROLLBAR and V_SCROLLBAR directives.
For information on adding a horizontal or vertical scrollbar on a panel using the NOMADS Panel Designer, see Scrollbar Controls.
For a list of properties that can be applied to scrollbars, see V_Scrollbar Properties and H_Scrollbar Properties.
Example:
V_SCROLLBAR 100,@(50,2,2,20)
V_SCROLLBAR WRITE 100,5,10
H_SCROLLBAR 10000,@(5,21,40,1)
H_SCROLLBAR WRITE 10000,10,50
H_SCROLLBAR READ 10000,X,50,1,10
PRINT X
10