VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Use of ImageCombo control

by Sukhen Das (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 5th June 2008
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Use of ImageCombo control

API Declarations


Dim item As String
Dim i As Integer
Dim st(4) As String


Rate Use of ImageCombo control




st(0) = "Red"
st(1) = "Green"
st(2) = "Blue"
st(3) = "Pink"
st(4) = "Violet"

For i = 0 To 4
   objNewItem = ImageCombo1.ComboItems.Add(i + 1, "r" & i, st(i))

   ImageCombo1.ToolTipText = st(i)
   ImageCombo1.ComboItems("r" & i).Image = i + 1
Next
   
End Sub


Download this snippet    Add to My Saved Code

Use of ImageCombo control Comments

No comments have been posted about Use of ImageCombo control. Why not be the first to post a comment about Use of ImageCombo control.

Post your comment

Subject:
Message:
0/1000 characters