Navigation: ABC Library Reference > BrowseEIPManagerClass > BrowseEIPManagerClass Methods >====== TakeNewSelection (reset edit-in-place column) ====== | |
TakeNewSelection, DERIVED, PROC
The TakeNewSelection method resets the edit-in-place column selected by the end user.
Implementation: TakeNewSelection calls ResetColumn, and returns a Level:Benign.
Return Data Type: BYTE
Example:
WindowManager.TakeEvent PROCEDURE
RVal BYTE(Level:Benign)
I USHORT,AUTO
CODE
IF ~FIELD()
RVal = SELF.TakeWindowEvent()
IF RVal THEN RETURN RVal.
END
CASE EVENT()
OF EVENT:Accepted
RVal = SELF.TakeAccepted()
OF EVENT:Rejected
RVal = SELF.TakeRejected()
OF EVENT:Selected
RVal = SELF.TakeSelected()
OF EVENT:NewSelection
RVal = SELF.TakeNewSelection()
OF EVENT:AlertKey
IF SELF.HistoryKey AND KEYCODE() = SELF.HistoryKey
SELF.RestoreField(FOCUS())
END
END
IF RVal THEN RETURN RVal.
See Also: ResetColumn