|
-
Mar 31st, 2000, 07:57 PM
#1
Thread Starter
Junior Member
Hi there!
I'm trying to add an image combo box to my application. It will be something similar to ICQ whereby the items in the box are names accompained by the correct status (e.g an incoming message, chat request, incoming file request, etc)
Regards
-
Apr 1st, 2000, 10:24 AM
#2
Image combobox works the same way as TreeView and ListView. It means that you have to use ComboItem object to add items to ImageCombo. Also, in order for you to add pictures to it along with the text, you would have to add an ImageList to your form, then using property pages, add Icons of your choice (giving Key name for each icon), then you can use something liek this:
Code:
Dim cmb As ComboItem
With ImageCombo
.ImageList = ImageList1
Set cmb = .ComboItems.Add(, , "This is a Demo Item", "MyImage")
End With
Assuming that you have an Icon (or any picture type) in the ImageList with the KeyName MyImage.
-
Apr 1st, 2000, 12:56 PM
#3
Thread Starter
Junior Member
yes, I understand this can be done, but what if I want the icons to appear dynamically. For example, only when the user sends a chat request to me then the icon beside that person's name will start to appear
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
|