This method closed the item editor control if it is active, and optionally updates the item with the text in the editor.
EditorActive = Exec_Method( CtrlEntID, "ENDDEDIT", bUpdate )
Name | Required | Description |
---|---|---|
bUpdate | No | If TRUE$ then the item will be updated with the contents of the editor before it is closed. |
Returns TRUE$ if the editor was active when the ENDEDIT method was called, or FALSE$ otherwise.
This method is called from the system-level LOSTFOCUS handler to close with bUpdate set to TRUE$.
// Close a listbox editor and update the item text.// bActive = Exec_Method( @Window : ".LST_NAMES", "ENDEDIT", TRUE$ )
LISTBOX EDITKEY property, LISTBOX EDITOPTIONS property, LISTBOX EDITORHANDLE property, LISTBOX READONLY property, LISTBOX ITEMCHANGED event, Common GUI EDITSTATECHANGED event.