User Tools

Site Tools


takecompleted_process_completion_of_edit_.htm
Navigation:  ABC Library Reference > BrowseEIPManagerClass > BrowseEIPManagerClass Methods >====== TakeCompleted (process completion of edit) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

TakeCompleted(// force //), DERIVED

blk2blue.jpg

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.

NoteBox.jpg

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

takecompleted_process_completion_of_edit_.htm.txt · Last modified: by 127.0.0.1