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


Ignore:
Timestamp:
05/17/19 15:28:40 (6 years ago)
Author:
Don Wilson
Comment:

--

Legend:

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

    v1 v1  
     1= !IsChanged =
     2
     3{{{
     4bool CForm::IsChanged(void)
     5}}}
     6
     7== Parameters ==
     8
     9* IsChanged does not accept any parameters
     10
     11== Return Value ==
     12
     13The IsChanged function returns true if any input field was changed.
     14
     15== Remarks ==
     16
     17
     18== Example ==
     19
     20{{{
     21EVENT(InputDone)
     22{
     23   if(nData == FORM_DONE_ESCAPE || nData == FORM_DONE_LEFT_ARROW)
     24   {
     25      if(pForm->IsChanged() == true)
     26      {
     27         if(WaitPrompt(LANG(STR_SAVE_CHANGES)) == true)
     28         {
     29            pForm->WriteData();
     30         }
     31      }
     32   }
     33}
     34}}}