onDataEditAccept - event of object PmiButtonRadio

The event fires after change of the item content. It can be used, for example, for passing the value into variables. If the data binding of the Selection index configurator is defined, then the value is passed into the variable of the data binding on this event.
pMe(Object) Reference to the graphic item where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.
pEvent.OldValue - (Integer) Value of the Value property before the last writing into the property.
This event will be called only if the Control enabled configurator is checked.
This event is also functional for Web panels.
This event can be used to save the set value, for example into the PmData object.
This approach is suitable in special cases. More common way is to create in the configurator Selection index a data binding, for example PP - Binding to PROMOTIC object property.
VBScriptSelect and copy to clipboard

pMe.Pm("/Data/#vars/Option").Value = pMe.Value
PROMOTIC 8.3.30 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