onDataEditAccept - event of the PmgString object
Description:
The event is triggered after editing the object value is ended
Parameters:
pMe | (Object) Reference to the PmgString object where the event rises. |
pEvent | (Object) Reference to an object describing detailed information about the specific event.
pEvent.OldValue - ( Variant) [ for reading] Original value before editing. |
---|
Note:
The event is triggered after the finished editation is confirmed.
In order to trigger such event, it is necessary to enable the "
Type of editing" configurator.
This event is triggered only if the "
Control enabled" configurator is checked.
This event is also functional in
Web panels.
For direct data connection between this object value and the application variable it is much easier to use the
data binding in the "
Value" configurator. The
onDataEditAccept event may be used only for more complex concepts of the value acquiring, or another reasons for difference recognition.
Example:
This example is functional also in
Web panels. The value is no assigned directly into the object on the Web server, but just the designer method in the
PmaPanel object is called. This method is then called on the server and there it is possible to save the transmitted value anywhere.
JavaScriptVBScriptSelect and copy to clipboard
pMe.PmPanel.Methods.SetMyValue(pMe.Value);
pMe.PmPanel.Methods.SetMyValue pMe.Value