= FORM_IS_UPDATED = Macro to call specified form IsUpdated() function {{{ FORM_IS_UPDATED(f) }}} == Parameters == * f = form == Return Value == This function returns true if the form is updated. False if no changes were made. == Remarks == IN_EVENT_HIDE_FORM is a macro to simplify the calling of IsUpdated. {{{ #define FORM_IS_UPDATED(f) form##f.IsUpdated() }}} == Examples == {{{ FORM_INIT(EditTruck, EventEditIDShow, NULL, NULL, EventTruckDone, nFormFlgNone); FORM_ADD_INPUT(EditTruck, Name, 0, FONT_HEIGHT * 2, truckPrompt.c_str(), KEYLEN(DB_TRUCK), 0, 0, NULL, id[DB_TRUCK], 0, NULL, NULL ); FORM_ADD_INPUT(EditTruck, Rfid, 0, FONT_HEIGHT * 4, LANG(STR_RFID_PROMPT), 5, 0, 0, NULL, rfid, 0, NULL, NULL); FORM_SHOW(EditTruck); FORM_RUN(EditTruck); FORM_HIDE(EditTruck); if (FORM_IS_UPDATED(EditTruck) != false) { // Save changes } }}} == See Also == * [wiki:IN_EVENT_SHOW_FORM IN_EVENT_SHOW_FORM] * [wiki:FORM_INIT FORM_INIT] * [wiki:FORM_SHOW FORM_SHOW] * [wiki:FORM_RUN FORM_RUN]