Click or drag to resize

ListBox.DeselectItem Method

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

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD DeselectItem(
	nItem
) AS USUAL CLIPPER
Request Example View Source

Parameters

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

Return Value

Type: Usual
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