| Version 1 (modified by , 8 years ago) ( diff ) |
|---|
IN_EVENT_SHOW_FORM
After using IN_EVENT_HIDE_FORM inside a form event IN_EVENT_SHOW_FORM may be called to return show the previous form again.
IN_EVENT_SHOW_FORM
Parameters
- None
Return Value
This function does not return any value
Remarks
IN_EVENT_SHOW_FORM is a macro to simplify the operation of form events. The preprocessor will replace this with a call to the Show function of the form.
#define IN_EVENT_SHOW_FORM pForm->Show()
Examples
// Called when Add Product button is clicked
EVENT(AddProduct)
{
// Hide the menu screen
IN_EVENT_HIDE_FORM;
// Start the add product screen
AddProduct();
// Return to the menu screen
IN_EVENT_SHOW_FORM;
}
== See Also ==
* [wiki:IN_EVENT_HIDE_FORM IN_EVENT_HIDE_FORM]
* [wiki:FORM_ADD_BUTTON FORM_ADD_BUTTON]
* [wiki:FORM_SHOW FORM_SHOW]
* [wiki:FORM_RUN FORM_RUN]
Note:
See TracWiki
for help on using the wiki.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)