ItemCheck Property (AListBox) |
Version 5 |
Returns or sets whether a specific item is checked.
Object.ItemCheck ( IIndex ) [ = bCheck ]
The ItemCheck property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AListBox |
AListBox control |
|
IIndex |
Val Long |
An integer specifying the position of the item in the list box. |
|
bCheck |
Bool |
Set the specified item checked. |
The following statement sets the AListBox 8th item to be checked:
lb1.ItemCheck(7)=True
The following shows if the first item in the list box has been checked or not :
bChecked=lbl.ItemCheck(0)