Two methods exist in order to achieve this result.
Option 1 :You can make a call to the callback1 function from within callback2, making sure to pass the event argument as an EVENT_COMMIT.
Callback functions are standard C functions, so you can call them from other parts of your program.
See
Example.zip
, attached to this document, for an example.
Option 2 : Another way to do it is by using the
CallCtrlCallback function.
This function is interesting as, if the control does not have any callback function, no error will be thrown. The function will simply do nothing.
This will also allow you to call callback functions of dynamically created controls.