Version 1 (modified by 6 years ago) ( diff ) | ,
---|
IsChanged
bool CForm::IsChanged(void)
Parameters
- IsChanged does not accept any 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.