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

Version 1 (modified by Don Wilson, 6 years ago) ( diff )

--

IsChanged

bool CForm::IsChanged(void)

Parameters

Return Value

The IsChanged function returns true if any input field was changed.

Remarks

Example

EVENT(InputDone)
{
   if(nData == FORM_DONE_ESCAPE || nData == FORM_DONE_LEFT_ARROW)
   {
      if(pForm->IsChanged() == true)
      {
         if(WaitPrompt(LANG(STR_SAVE_CHANGES)) == true)
         {
            pForm->WriteData();
         }
      }
   }
}
Note: See TracWiki for help on using the wiki.