company logo

GUIBaseContext :: doAfterValueChanged - Post-event handler for key input events

This event is generated, when the value (text) for a control has changed. This happens, e.g. when entering text in an edit field, when calling setText() or when selecting a list entry in a drop combo box. The Event informs, that something has changed, but says nothing about the type of change.

When the event is fired, the data changed is not yet stored to the property (value) handle, but is available via ControlContext::text() function.

When entering text in an edit field, the event handler is called after each key input. In order to get more precise information about typing, keyEvent() might be overloaded, witch is called for each key input action and provides key modifiers, in addition.

The return value returned from the event handler does not influence further processing.

Implementation details

int32 GUIBaseContext  :: doAfterValueChanged (  )