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


Ignore:
Timestamp:
08/20/10 11:05:43 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

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

    v1 v1  
     1= FORM_SHOW =
     2Shows a form.
     3
     4{{{
     5void FORM_SHOW(void);
     6}}}
     7
     8== Parameters ==
     9
     10This function does not accept any parameters
     11
     12== Return Value ==
     13
     14This function does not return any value
     15
     16== Remarks ==
     17
     18== Examples ==
     19
     20{{{
     21void IDScreen(void)
     22{
     23    string strID = "";
     24    float fVal = 0.0;
     25
     26    FORM_INIT(ID, EventIDShow, NULL, NULL, NULL, nFormFlgShowHelp);
     27    FORM_ADD_INPUT(ID, ID, 0, 50, "ID: ", 10, 0, 0, NULL, strID, 0, NULL, "Enter the ID");
     28    FORM_ADD_INPUT(ID, Val, 0, 80, "Value: ", 10, 0, 9999, NULL, fVal, 0, NULL, "Enter the value");
     29
     30    FORM_SHOW(ID);
     31    FORM_RUN(ID);
     32    FORM_HIDE(ID);
     33
     34    // strID and fVal now contain the entered data
     35}
     36
     37EVENT(IDShow)
     38{
     39    ClearLCD();
     40    DisplayText(0, 0, "ID/Value Screen");
     41    return 0;
     42}
     43}}}
     44
     45
     46== See Also ==
     47
     48 * FORM_INIT
     49 * FORM_ADD_INPUT
     50 * FORM_ADD_BUTTON
     51 * FORM_RUN
     52