Update cookies preferences
Promotic

Object PmgWCheck (Checkbox)

Description:
This object is obsolete (but functional) and it is better to use the PmgButtonState object - see Checkbox.

The object serves for entering or displaying a YES/NO value (Boolean type, value 1 or 0). If the user changes the value (e.g. by clicking the mouse) then the onDataEditAccept event is triggered.
This object is the Window Pmg object.

The value is kept in the Value property. Its possible data binding specifies the variable into which the Checkbox value is written in runtime in the time of entering a new value, see the onDataEditAccept event. The data binding is here "for read and write", it means that if the variable of the data binding is changed even by other methods, then the change of this variable is displayed.
The "As button" configurator changes the appearance of the CheckBox to the two-states button which is shown down on the value 1 and shown up on the value 0.
This object inherits properties, methods and events of the PmgObject object.
Properties and methods of this object:
ColorItemBackground color
TextDescription text
ValueValue of the checkbox
Properties and methods inherited from the PmgObject object:
AddEvent()Registers a function into the specified event
Blink()Starts/stops blinking of the Pmg object
DxWidth of the Pmg object
DyHeight of the Pmg object
EnabledEnable/disable the control, i.e. user's inputs to the object
FocusDetects/set the focus of the Pmg object
GetChildByIndex()Returns the nested Pmg object defined by order
GetChildCount()Returns the number of nested Pmg objects
GetPathName()Object name with the path to this object
GetItemInfo()Returns special information regarding the Pmg object
GetPar()Reading the value of the Pmg object parameter (or its parents)
IniDxInitial width of the Pmg object
IniDyInitial height of the Pmg object
IniXInitial X-position of the left upper corner of the Pmg object relative to superior object
IniYInitial Y-position of the left upper corner of the Pmg object relative to superior object
Items()Returns reference to the Pmg object
MethodsAccess to designer methods of this object
MouseOnIdentification if the mouse cursor finds itself over the Pmg object
NameThe name of the Pmg object
ParentReturns reference to the parent Pmg object
Pm()Returns the Pma object (obsolete)
PmPanelReturns reference to the PmaPanel object where the Pmg object is placed
Refresh()Refresh of the Pmg object
RemoveEvent()Unregisters the function in the specified event
RootReturns reference to the root PmgRoot object
ShowMenu()Opens context menu of the Pmg object
ScreenXX-coordinate of the left upper corner of the Pmg object relative to computer screen
ScreenYY-coordinate of the left upper corner of the Pmg object relative to computer screen
ToolTipTooltip text of the Pmg object
Vars()Returns the variable of the Pmg object
ViewXPosition of X-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
ViewYPosition of the Y-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
VisibleVisibility of the Pmg object
XX-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
YY-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
Events of this object:
onDataEditAcceptIs triggered after change of the object value
Events inherited from the PmgObject object:
onFocusInIs triggered if the object receives focus
onFocusOutIs triggered if the object loses focus
onModeChangeIs triggered when the Pmg object mode changes
onRefreshIs triggered on the data refresh of the Pmg object
onStartIs triggered on the construction of the Pmg object in the course of opening the panel
onStopIs triggered on the destruction of the Pmg object in the course of closing the panel
Configuration tabs:
ObjectGeneral information about the object
PositionSetting the position, width and height of the Pmg object
VariablesList and configuration of user defined Pmg object variables
EventsAlgorithms definition for the object events
MethodsDefinition of designer method of the Pmg object
CheckboxProperties of the PmgWCheck object.

History:
Pm9.00.00: Object name changed: PmiWCheck -> PmgWCheck
Pm8.01.03: was moved by 4 pixels in the Web panel1
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.