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
          
            Last modified
 8 months ago          
          
            Last modified on 03/12/25 08:21:56
          
        
      
  Note:
 See   TracWiki
 for help on using the wiki.
    ![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)