ListBox.SelectItem Method | |
Turn on the selection of an item in a list box.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD SelectItem(
nItemId
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual SelectItem(
Usual nItemId = default
)
Request Example
View SourceParameters
- nItemId (Optional)
- Type: Usual
The item number to be selected. Zero (0) represents the current item.
Return Value
Type:
Usual
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