wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/IN_EVENT_HIDE_FORM

IN_EVENT_HIDE_FORM

If a form event if other input is desired IN_EVENT_HIDE_FORM may be called to hide the existing form.

IN_EVENT_HIDE_FORM

Parameters

  • None

Return Value

This function does not return any value

Remarks

IN_EVENT_HIDE_FORM is a macro to simplify the operation of form events. The preprocessor will replace this with a call to the Hide function of the form.

#define IN_EVENT_HIDE_FORM	pForm->Hide()

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

Last modified 6 years ago Last modified on 04/13/18 08:03:25
Note: See TracWiki for help on using the wiki.