Click or drag to resize

ListBox.DeselectItem Method (Typed)

X#
Turn off the selection of a specified item in a list box.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD DeselectItem(
	nItem AS LONG
) AS LOGIC
Request Example View Source

Parameters

nItem
Type: Long
The item number to be deselected. Zero (0) represents the current item.

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
Normally, the user turns selections off, but this method enables the program to do so also. This method is intended for use with a multiple selection list box (i.e., a list box created using the LBOXMULTIPLESEL style).
See Also