PHueSelect

(Dialog Library)

Description:

Called graphic module that connects a hue selection tool to a given parameter number.

Returns: Nothing
Usage: Steady State only.
Function Groups: Color,  Graphics
Related to: GUITransform | PAddressEntry | PAlmPriority | PAreaSelect | PCheckBox | PColorEdit | PColorSelect | PContributor | PDroplist | PEditField | PEditName | PFileChooser | PHSliderBar | PImageSelect | PIPAddressList | PIPListenerGroup | PMultiCheckBox | PPageSelect | PPhraseEdit | PRadioButtons | PSecBit | PSelectObject | PServerListName | PSpinbox | PTimeZone | PTypeToggle | SiteDispParms
Format: \DialogLibrary.PHueSelect(ParmNum [, Title, FocusID, Trigger, DrawBevel, EnableEditField])
Parameters:  
ParmNum
Required. Any numeric expression giving the parameter number (from 0) in the caller to alter.
Title
An optional parameter that is any text expression to be used as a the title to put on the bevel.
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).
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.
EnableEditField
An optional parameter that is any logical expression. If TRUE (non-0) the edit field will be shown. The default is FALSE.
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.

This parameter tool expects the first parameter of its calling module to contain an array of tag parameters. It will then set the value of the element indicated by ParmNum.

Usual height: 77 pixels.

Example:

  GUITransform(30, 200, 300, 270,
               1, 1, 1, 1, 1            { no scaling                     },
               0, 0, 1, 0               { No movement; visible; reserved },
               0, 0, 0                  { Not selectable                 },
               \DialogLibrary.PHueSelect(#MismatchHue, 
                                         \GetPhrase("Your_Title")  { Title }, 
                                         10                        { ID    },  
                                         Trigger, 
                                         0, 1));