Click or drag to resize

ListBox.ChangeSelected Method (Typed)

X#
Change a range of items in a multiple selection list box to a specified selection.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD ChangeSelected(
	oRange AS Range,
	 lEnabled AS LOGIC
) AS LOGIC
Request Example View Source

Parameters

oRange
Type: Range
The Range object representing the selected items.
lEnabled
Type: Logic
The state of the selected items. If not specified, the default is TRUE.

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
This method is intended for use with a multiple selection list box (i.e., a list box created using the LBOXMULTIPLESEL style).
See Also