Print Page | Close Window

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

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8830
Printed Date: 28 September 2024 at 11:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How Do I add an Item to Listbox and Check It ?
Posted By: LeeHayton
Subject: How Do I add an Item to Listbox and Check It ?
Date 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



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net