Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - How Do I add an Item to Listbox and Check It ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How Do I add an Item to Listbox and Check It ?

 Post Reply Post Reply
Author
Message
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Topic: How Do I add an Item to Listbox and Check It ?
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2007 at 8:48am
Him
ListBox doesn't have ListItem objects. Check it using  Checked method.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.