Changes between Initial Version and Version 1 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/EVENT_FLAG_SHOW


Ignore:
Timestamp:
04/13/18 08:56:58 (6 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/EVENT_FLAG_SHOW

    v1 v1  
     1= EVENT_FLAG_SHOW =
     2For 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.
     3
     4
     5== Examples ==
     6
     7{{{
     8string productId = "";
     9
     10EVENT(Product)
     11{
     12   if(EVENT_FLAG_SHOW) // Draw Button Contents
     13   {
     14      EVENT_SHOW_BTN_CONTENT(productId);
     15   }
     16   else
     17   {
     18      IN_EVENT_HIDE_FORM;
     19
     20      InputProductID();
     21       
     22      IN_EVENT_SHOW_FORM;
     23   }
     24   return 0;
     25}
     26
     27EVENT(Customer) {
     28
     29}}}
     30
     31== See Also ==
     32
     33 * [wiki:EVENT_SHOW_BTN_CONTENT EVENT_SHOW_BTN_CONTENT]
     34 * [wiki:FORM_INIT FORM_INIT]
     35 * [wiki:FORM_SHOW FORM_SHOW]
     36 * [wiki:FORM_RUN FORM_RUN]
     37