How Do I add an Item to Listbox and Check It ? |
Post Reply |
Author | |
LeeHayton
Senior Member Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
Post Options
Thanks(0)
Posted: 19 November 2007 at 7:07am |
I want to add an item to the listbox and Check It.
Can I not do the following to get a handle on the item?
Dim li as ListItem
set li = ListBox1.AddItem("Item 1")
li.Checked = true
I would like to get a handle on the item to get at it's properties - how do I do it?
Thanks
Lee
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Him
ListBox doesn't have ListItem objects. Check it using Checked method.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |