Point Commands SECTION 6 Functions and Methods
63
6-5-5 EditPoint
Syntax
EditPoint(BoolPoint, Caption, OffText, OnText)
or
EditPoint(AnalogPoint, Caption, MinValue, MaxValue,
Keyboard)
or
EditPoint(TextPoint, EchoOff, Keyboard)
Remarks
Typical Example
EditPoint(bFlag, "Select ON or OFF", "ON", "OFF")
A dialog is displayed to edit the Boolean point 'bFlag', to "ON" or "OFF" with a
caption "Select ON or OFF".
EditPoint(nValue, "Enter a new value", 0.000000,
9999.000000, FALSE )
A dialog is displayed to edit the analogue point 'nValue', between 0 and 9999
with a caption "Enter a new value" without using the onscreen keyboard.
EditPoint(txtMessage, "Set Text to", FALSE ,FALSE )
A dialog is displayed to edit the Text point 'txtMessage', with a caption "Set
Text to", echoing the input and not displaying the onscreen keyboard.
6-5-6 EnableGroup
Syntax
returnstate = EnableGroup(groupname)
Remarks
Typical Example
Argument Type Description
BoolPoint point Name of Boolean point to be edited
Caption Text Text Caption for Edit dialog
OffText Text Text description for Boolean state 0
OnText Text Text description for Boolean state 1
AnalogPoint point Name of Integer or Real point to be edited
MinValue Int/Real Minimum value to be entered
MaxValue Int/Real Maximum value to be entered
Keyboard Bool Flag set to TRUE to display the onscreen
keyboard
TextPoint point Name of Text point to be edited
EchoOff Bool Flag set to TRUE if input is not to be echoed for
security
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
groupname text Name of the group containing the points to
enable.