Navigation: ABC Library Reference > BrowseEIPManagerClass > BrowseEIPManagerClass Methods >====== TakeCompleted (process completion of edit) ====== | |
TakeCompleted( force ), DERIVED
TakeCompleted | Determines the edit-in-place dialog's action after either a loss of focus or an end user action. |
force | An integer constant, variable, EQUATE, or expression that indicates the record being edited should be saved without prompting the end user. |
The TakeCompleted method either saves the record being edited and end the edit-in-place process, or prompts the end user to save the record and end the edit-in-place process, cancel the changes and end the edit-in-place process, or remain editing.
Implementation:
The EIPManager.TakeFocusLoss and EIPManager.TakeAction methods call the TakeCompleted method.
TakeCompleted does not override the WindowManager.TakeCompleted method.
Example:
EIPManager.TakeFocusLoss PROCEDURE
CODE
CASE CHOOSE(SELF.FocusLoss&=NULL,EIPAction:Default,BAND(SELF.FocusLoss,EIPAction:Save))
OF EIPAction:Always OROF EIPAction:Default
SELF.TakeCompleted(Button:Yes)
OF EIPAction:Never
SELF.TakeCompleted(Button:No)
ELSE
SELF.TakeCompleted(0)
END
See Also: EIPManager.TakeFocusLoss, EIPManager.TakeAction