= !WriteData = {{{ void CForm::WriteData(void) }}} == Parameters == * WriteData does not accept any parameters == Return Value == The WriteData function does not return a value. == Remarks == Input forms automatically write the changes when the ENTER key is pressed. However if a button event is provided to complete the form or do some other processing it may be needed to call the WriteData function. == 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 == == See Also == * [wiki:IN_EVENT_WRITE_DATA IN_EVENT_WRITE_DATA] * [wiki:IsChanged IsChanged]