|
-
August 3rd, 2001, 01:57 PM
#1
ListBox
Hi,
Can anyone please tell me how to disable or Grey out the selected item in the listbox?
Thanks
-
September 6th, 2001, 10:21 AM
#2
Re: ListBox
hey,
eg. lstBooks.enable = False
lstBooks -> being the name you gave to the list box
-
September 19th, 2001, 04:48 PM
#3
Re: ListBox
i think what you were trying to say was that you wanted to grey out individual rows in a listbox, not the whole thing. i've been trying to figure that out too...not sure if you can do it with the vb6 listbox....or if you'll have to import another listbox control. let me know if you can figure it out!
-
September 19th, 2001, 05:14 PM
#4
Re: ListBox
I am afraid we can implement that through ListBox. As a workaround, you can use a one column listview, and set the HideColumnHeaders property to True. It will look like a listbox. Then you can change the forecolor of individual item.
Regards,
Michi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|