Combo as Codejock Combobox |
Post Reply |
Author | |
MetallDesign
Groupie Joined: 23 September 2008 Location: Switzerland Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 19 September 2012 at 4:38am |
Hello
How to declare a Codejock Combobox in Vb6? I have Errorcode 13, Type MissMatch, see Code below...This Function runs in a Module normal with VB Standart Combobox...
Public Function Search_String_Combobox(Combo As ComboBox, lstrSearchTxt As String) As Integer
Dim lintLoop As Integer Dim lintLen As Integer lintLen = Len(lstrSearchTxt) For lintLoop = 0 To Combo.ListCount
If Left$(Combo.List(lintLoop), lintLen) = lstrSearchTxt Then Search_String_Combobox = lintLoop Exit Function End If Next lintLoop Search_String_Combobox = -1 'When Not found
End Function Thanks for your Helps
Ramon
|
|
MetallDesign
Groupie Joined: 23 September 2008 Location: Switzerland Status: Offline Points: 16 |
Post Options
Thanks(0)
|
i have got it
Public Function Search_String_Combobox(ByVal Combo As XtremeSuiteControls.ComboBox, lstrSearchTxt As String) As Integer
Thanks
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |