PServerListName

(Dialog Library)

Description:

Called graphic module that creates an editable droplist of Server List Names, available to the tag.

Returns: Nothing
Usage: Steady State only.
Function Groups: Graphics
Related to: GUITransform | PAddressEntry | PAlmPriority | PAreaSelect | PCheckBox | PColorEdit | PColorSelect | PContributor | PDroplist | PEditField | PEditName | PFileChooser | PHSliderBar | PHueSelect | PImageSelect | PIPAddressList | PIPListenerGroup | PMultiCheckBox | PPageSelect | PPhraseEdit | PRadioButtons | PSecBit | PSelectObject | PSpinbox | PTimeZone | PTypeToggle | SiteDispParms
Format: \DialogLibrary.PColorEdit(Parms, Title, ID, Trigger, DrawBevel, VertAlign, AlignTitle)
Parameters:  
Parms
Required. Any numeric expression giving the parameter number (from 0) in the caller to alter.
Title
An optional parameter that is any expression for a title to be applied.
ID
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).
Trigger
Set when the variable is changed.
DrawBevel
Optional Boolean expression that when set to TRUE, causes a bevel to be drawn around the control. If the editfield is beveled, its size will become fixed and will be the same as that for a droplist.
VertAlign
An optional parameter that is any numeric expression that sets the vertical alignment of the droplist according to one of the following options:

VertAlign

Vertical Alignment

0

Top

1

Center

2

Bottom

Whether the title is included when the vertical alignment is calculated is determined by the value of AlignTitle. The default value is 0.

AlignTitle
Boolean. Set to TRUE if the title is aligned with the top.
Comments:


This module is a member of the VTScada Dialog Library and must therefore be called from within a GUITransform and prefaced by \DialogLibrary\.
The "P" tools (Pcheck box, PContributor, PColorSelect, PDroplist, and PEditField) were intended only for use in configuration folders and drawing panel modules, and therefore are subject to the system security restraints.

Example:

  {***** ServerList of the point *****}
  GUITransform(30,
               45 + 3*Space + 2*TEditHt + 2*TDropHt,
               WIDTH - 30,
               45 + 3*Space + 2*TEditHt + TDropHt,
               1, 1, 1, 1, 1            { No scaling                     },
               0, 0, 1, 0               { No movement; visible; reserved },
               0, 0, 0                  { Not selectable                 },
               \DialogLibrary.PServerListName(\#ServerListName, GetPhrase("ServerListLabel"),
                                              TRUE { ID }, Trigger { Trigger }, FALSE {DrawBevel }));