Table of Contents

SELECTALL method (Listbox)

Description

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)

Syntax

bSelected = Exec_Method( ctrlEntID, "SELECTALL" )

Parameters

N/A

Returns

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

Remarks

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

Example

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

See Also

N/A