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

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();
         }
      }
   }
}

See Also

Last modified 5 years ago Last modified on 05/17/19 15:32:40
Note: See TracWiki for help on using the wiki.