Object PmgRadioButton (Radio buttons with/without a title)

The object serves for selecting one of N items represented by the text row. The selected item highlighted.
The "Radio" term originated from the old radio receiver buttons - it used to be mechanical buttons: if one is pressed, then the other is released.

The selected item is specified by index (zero-based index). The index of the selected item can be got, for example, by means of the Value property.
Possible data binding specifies the variable into which the value related to the selected item is transferred. The data binding is here "for read and write", it means that if the variable of the data binding is changed by other methods, then the change of this variable is reflected into the change of the selected item.

If the selected text is changed then the onDataEditAccept event is triggered. Thus the radio buttons can be understood as Menus.
This object adopts properties and methods of the PmgBox object.
Properties and methods:
Value Index of the selected text
onDataEditAccept Is triggered after change of the object content
onFocusIn Is triggered if the object receives focus
onFocusOut Is triggered if the object loses focus
onKeyPress Is triggered after pressing or releasing the key of the keyboard
onMenuFill Is triggered after pressing by the right mouse button over the Pmg object
onMenuSelect Is triggered on the selection of an item from the Pmg object local menu
onModeChange Is triggered when the Pmg object mode changes
onMousePress Is triggered after pressing or releasing the left mouse button
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
Box Setting the background area of the Pmg object
Button Radio-button properties.

Pm9.00.01: Fixed bug: Even if the object had control disabled (in the "Control enabled" configurator), then in the Web panels it was still possible to change the value by clicking the mouse.
Pm9.00.00: Object name changed: PmiButtonRadio -> PmgRadioButton
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