guides:programming:programmers_reference_manual:endedit_method_listbox

ENDEDIT method (Listbox)

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 )
NameRequiredDescription
bUpdateNoIf 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.

  • guides/programming/programmers_reference_manual/endedit_method_listbox.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1