Changes between Version 3 and Version 4 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/FORM_INIT
- Timestamp:
- 08/20/10 10:36:39 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/FORM_INIT
v3 v4 3 3 4 4 {{{ 5 void FORM_INIT( EVENT_FNC eventShow, EVENT_FNC eventProcess, EVENT_FNC event_hide, EVENT_FNC event_done, int nFlag);5 void FORM_INIT(formName name, EVENT_FNC eventShow, EVENT_FNC eventProcess, EVENT_FNC eventHide, EVENT_FNC eventDone, int nFlag); 6 6 }}} 7 7 8 8 == Parameters == 9 9 10 * formName - name of the form. 10 11 * eventShow - event function that is called to display additional items such as titles. 11 12 * eventProcess - event function that is called every few milliseconds to do any application processing desired … … 23 24 24 25 {{{ 26 void IDScreen(void) 27 { 28 FORM_INIT(ID, EventIDShow, NULL, NULL, NULL, nFormFlgShowHelp); 29 FORM_ADD_INPUT(ID, ID, 0, 50, "ID: ", 10, 0, 0, NULL, strID, 0, NULL, "Enter the ID"); 30 31 FORM_SHOW(ID); 32 FORM_RUN(ID); 33 FORM_HIDE(ID); 34 } 35 36 EVENT(IDShow) 37 { 38 ClearLCD(); 39 DisplayText(0, 0, "Enter ID Screen"); 40 return 0; 41 } 25 42 }}} 26 43