guides:programming:programmers_reference_manual:selectall_method_listbox

SELECTALL method (Listbox)

If the current item is being edited this method selects all the text in the editor control, otherwise it attempts to select all items in the ListBox (if the ListBox is multi-select)

bSelected = Exec_Method( ctrlEntID, "SELECTALL" )

N/A

TRUE$ if the text or items were selected, FALSE$ otherwise.

This method only works with items that are being edited, or with a multi-select ListBox.

 
//// Select all items in a Multi-select listbox//
   
   Call Exec_Method( @Window : ".LST_NAMES", "SELECTALL",  )
 
 
 

N/A

  • guides/programming/programmers_reference_manual/selectall_method_listbox.txt
  • Last modified: 2023/10/25 10:50
  • by 127.0.0.1