PSecBit
(Dialog Library)
Description: |
Parameter Setting Security Bit. This module draws a titled, [beveled] droplist of options for setting the security bit.
|
Returns: | Nothing |
Usage: | Steady State only. |
Function Groups: | Bitwise Operation, Graphics, Security |
Related to: | GUITransform | PAddressEntry | PAreaSelect | PCheckBox | PColorSelect | PContributor | PDroplist | PEditField | PFileChooser | PPageSelect | PRadioButtons | SelectGraphic | PServerListName | PSpinbox |PTimeZone | PTypeToggle |
Format: | \DialogLibrary.PSecBit(ParmNum, Title, FocusID[, VertAlign, AlignTitle, DrawBevel]) |
Parameters: |
ParmNum | ||||||||
Required. Any numeric expression giving the parameter number (from 0) in the caller to alter. | ||||||||
Title | ||||||||
Required. Any text expression to be used as a title for the droplist. | ||||||||
FocusID | ||||||||
Boolean. If this value is FALSE (0), the field will display its current setting, but cannot be opened (i.e. its value cannot be changed), and will appear disabled (grayed-out). | ||||||||
VertAlign | ||||||||
An optional parameter that is any numeric expression that sets the vertical alignment of the droplist according to one of the following options:
Whether the title is included when the vertical alignment is calculated is determined by the value of AlignTitle. The default value is 0. |
AlignTitle |
An optional parameter that is any logical expression. If AlignTitle is true (non-0), the title will be included in the calculation for vertical alignment. If AlignTitle is false (0), the title will be added to the editfield after both the editfield and its bevel have been vertically aligned. The default is true. |
DrawBevel |
An optional parameter that is any logical expression. if true, a bevelled edge will be added around the control. |
Comments |
This module is a member of the VTScada Dialog Library and must therefore be called from within a GUITransform and prefaced by \DialogLibrary.. Usual height: 45 pixels. |
Example:
GUITransform(50, 400, 450, 100,
1, 1, 1, 1, 1,
0, 0, 1, 0,
0, 0, 0,
\DialogLibrary.PSecBit(9 { Parm num },
\GetPhrase("Your_Title") { Title },
3 { Focus ID },
1 { Centered },
0 { Align bevel }));