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

EVENT_FLAG_SHOW

For buttons defined with the flag FORM_OUTLINE_1LINE_WND .. FORM_OUTLINE_15LINE_WND a hole is present in the display of the button to allow custom text to be displayed within the button. EVENT_FLAG_SHOW is a defined value for the nData parameter of the button event to indicate the display text should be shown.

Examples

string productId = "";

EVENT(Product)
{
   if(EVENT_FLAG_SHOW) // Draw Button Contents
   {
      EVENT_SHOW_BTN_CONTENT(productId);
   }
   else
   {
      IN_EVENT_HIDE_FORM;

      InputProductID();
	
      IN_EVENT_SHOW_FORM;
   }
   return 0;
}

EVENT(Customer) {

See Also

Last modified 7 years ago Last modified on 04/13/18 08:56:58
Note: See TracWiki for help on using the wiki.