ListBox.SelectItem Method (Typed) | |
Turn on the selection of an item in a list box.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD SelectItem(
nItemId AS LONG
) AS LOGIC
public virtual bool SelectItem(
int nItemId
)
Request Example
View SourceParameters
- nItemId
- Type: Long
The item number to be selected. Zero (0) represents the current item.
Return Value
Type:
Logic
TRUE if successful; otherwise, FALSE.
Remarks
Normally, the user turns selections on and 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