TimestampParameterEdit

(VTScada-Layer function. Must be called with a leading backslash.)

Description: Wrapper of ParameterEdit which makes for easy addition of a ParameterEdit control to a panel for selecting text.
Returns: Self
Usage: Steady State only.
Function Groups: Basic Module, Variable
Related to: ParameterEdit | ColorParameterEdit | NumericParameterEdit | TagParameterEdit | TextParameterEdit | DurationParameterEdit
Format: \TimestampParameterEdit(Left, Bottom, Right, Top, ParmVal, ParmCodePtr, Title, TitleWidth, PTypeIdx, PtrWaitClose, DialogRoot, InitialTime, 24HourEditing, ID, ToolTitleWidthOut[, Description, TimeOnly, VariableName])
Parameters:  
Left
Required. Any numeric expression for the left edge of the object.
Bottom
Required. Any numeric expression for the bottom edge of the object.
Right
Required. Any numeric expression for the right edge of the object.
Top
Required. Any numeric expression for the top edge of the object.
ParmVal
Required. The parameter value to be altered.
Typically, one element of the array of Parms passed to the panel.
ParmCodePtr
Required. The code pointer to the parameter.
Typically, one element of the array of parameter definition structures.
Title
The title to display
TitleWidth
Width allotted for the Title
PTypeIdx
Index of the Parameter type selection
PtrWaitClose
Wait to close
Typically provided by the panel module.
DialogRoot
Root dialog calling this control
Typically provided by the panel module.
InitialTime
(Optional) Initial time to display in number of seconds since January 1st 1970 00:00:00. Unix time. Default = current time.
24HourEditing
(Optional) Flag - TRUE for 24 hour clock. Default = FALSE
ShowDrawnTagProperty
Optional Boolean. Set true to show "Drawn Tag Property". Defaults to TRUE
ID
Focus ID
ToolTitleWidthOut

[OUT] Width of ParmEdit's tool and title

Description
Optional text describing this parameter
TimeOnly
(Optional) Flag - TRUE to display time controls only. Default = FALSE
VariableName
(Optional) Page variable name, will display ParmEditPageVar snap-in if specified
Comments:

...

Example:

PEObj[3] = TimestampParameterEdit(0,
                PEBot[3],
                PanelWd,
                PEBot[2] + Space,
                Parms[#StartTime],
                ParmDefs[#StartTime],
                GetPhrase("StartTimeLabel"),
                TitleWd,
                0, &(SubWaitClose[3]) { Starting index, PtrWaitClose      },
                Invalid               { DlgRoot                           },
                Invalid, FALSE, 1)    { Initial time, 24-hour editing, ID };