Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onDataEditAccept - event of object PmiButtonRadio

Description:
The event fires after changing the item value. 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.
Parameters:
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.
Note:
This event will be called only if the Control enabled configurator is checked.
 
This event is also functional for Web Panels.
Example:
This event can be used to save the set value, for example into the PmData object.
pMe.Pm("/Data/#vars/Option").Value = pMe.Value
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.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice