onDataEditAccept - event of object PmiWCombo
The event fires after the selected value modification is done.
|pMe||(Object) Reference to the graphic item where the event rises.|
|pEvent||(Object) A referrence to object describing detailed information about the specific event. |
The pEvent parameter is not used here because this event does not need any additional information.
event is fired after the value is selected - see the configurator "Attributes
". For selection changes capturing see onDataEditing
event. For cancelled selection capturing see onDataEditCancel
This event will be called only if the Control enabled
configurator is checked.
This event is also functional for Web Panels
For direct data connection between this item value and the application variable it is much easier to use the data binding
in the Where to write
configurator. The onDataEditAccept
property may be used only for more complex concepts of value acquiring, or another reasons for difference recognition.
In the event, the value of the graphic item is copied into the Select
variable, that is located in the Data1
object (of the PmData
This example is not functional for web Web Panels because the web client value cannot be directly assigned to other objects in the web server.
This example will be functional also for Web Panels
. The value is no assigned directly into the object on the WEB server, but just the PmPanel
object user method is called. This method is then called on the server and there it is possible to save the transmitted value anywhere.