Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 setting 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 je kept in the Value property. Its possible data binding specifies the variable into which the Checkbox value is written in the runtime mode 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 adopts properties and methods of the PmgObject object.
:
ColorItem Background color
Text Description text
Value Value of the CheckBox
:
AddEvent Registers a function into selected event
Blink Starts/stops blinking of the Pmg object
Dx Width of the Pmg object
Dy Height of the Pmg object
Enabled Enable/disable the control, i.e. user's inputs to the object
Focus Detects/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 Name of the Pmg object including the path that consists of parent Pmg objects names
GetItemInfo Returns special information regarding the Pmg object
GetPar Reading the value of the Pmg object parameter (or its parents)
IniDx Initial width of the Pmg object
IniDy Initial height of the Pmg object
IniX Initial X-position of the upper-left corner of the Pmg object relative to superior object
IniY Initial Y-position of the upper-left corner of the Pmg object relative to superior object
Items Returns reference to Pmg object
Methods Access to designer's methods of this object
MouseOn Identification if the mouse cursor finds itself over the Pmg object
Name The name of the Pmg object
Parent Returns reference to the parent Pmg object
Pm Returns the Pma object or to its subobject (obsolete)
PmPanel Returns reference to the PmaPanel object where the Pmg object is placed
Refresh Refresh of the Pmg object
RemoveEvent Deregisters the function in the specified event
Root Returns reference to the root PmgRoot object
ShowMenu Opens local menu of the Pmg object
ScreenX X-coordinate of the upper-left corner of the Pmg object relative to computer screen
ScreenY Y-coordinate of the upper-left corner of the Pmg object relative to computer screen
ToolTip Tooltip text of the Pmg object
Vars Returns the variable of the Pmg object
ViewX Position of X-coordinate of the upper-left corner of the Pmg object relative to the PmgRoot object
ViewY Position of the Y-coordinate of the upper-left corner of the Pmg object relative to the PmgRoot object
Visible Sets the visibility/invisibility of the Pmg object
X X-coordinate of the upper-left corner of the Pmg object relative to superior Pmg object
Y Y-coordinate of the upper-left corner of the Pmg object relative to superior Pmg object
:
onDataEditAccept Is triggered after changing the object value
:
onFocusIn Is triggered if the object receives focus
onFocusOut Is triggered if the object loses focus
onModeChange Is triggered when the Pmg object mode changes
onRefresh Is triggered on the data refresh of the Pmg object
onStart Is triggered on the construction of the Pmg object in the course of opening the panel
onStop Is triggered on the destruction of the Pmg object in the course of closing the panel
Configuration tabs:
Object General information about the object
Position Setting the position, width and height of the Pmg object
Variables List and configuration of user defined Pmg object variables
Events Algorithms definition for the object events
Methods Definition of designer's method of the Pmg object
Checkbox Properties 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.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice