void OnOk(void)
This member may be derived by the application. When the user presses the OK button, this is called, allowing the application to take action. By default, OnOk deletes the form and the panel associated with it, probably the normal desired behaviour. Note that if any form item constraints were violated when the user pressed OK, the member does not get called.