Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmiWCheck (CheckBox)

Description:
This object is obsolete (but functional). It is better to use the PmiButtonTwo graphic item and its preconfiguration for checkbox, see CheckBox.
 
The item is determined for setting or displaying a YES/NO value (Booleantype, value 1 or 0). Changing the value by a user (e.g. by clicking the mouse) invokes the onDataEditAccept event.

This item is the Window item.

 
The value is kept by the Value property. Its possible data binding determines the variable into which the CheckBox value is written on the runtime in the time of entering a new value, see the onDataEditAccept event. The data binding is here of the read/write type, which means that if the variable of the data binding is changed even by other methods, then the change of this variable is displayed.

The AsButton 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 object PmiItem
Properties and methods:
ColorItem Background color
Text Description text
Value Value of the CheckBox
Events:
onDataEditAccept Fires after changing the item value
Configuration windows:
Object General information about the object
Content Content of the graphic item in the XML form
Position Setting the position, width and height of the item
Variables List and configuration of user defined item variables
Events Algorithms definition for the object events
Methods Definition of user's methods of the graphic item
Checkbox PmiWCheck item properties.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice