How to make the reference of Combobox |
Post Reply |
Author | |
watsmyname
Newbie Joined: 16 January 2010 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 16 January 2010 at 1:16am |
Hello,
I have a function like this Private Sub loadListBox(sCombo As ComboBox, tableName As String, idField As String, nameField As String) ' my codes are here End Sub while i tried to call this function like this loadListBox cmbogenre, "tblgenre", "genre_id", "genre_name" it gives me "Type mismatch error", may be the reference is made to VB's default combobox, not xtremesuites' combobox. How to make reference to Xtreme Suites's Combobox instead of Vb's default ComboBox ?? Thanks watsmyname |
|
Mr.Den
Groupie Joined: 26 August 2007 Status: Offline Points: 50 |
Post Options
Thanks(0)
|
Try:
Private Sub loadListBox(sCombo As XtremeSuiteControls.ComboBox, tableName As String, idField As String, nameField As String)
' my codes are here End Sub |
|
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 7 Professional (64bit) - SP 1 Language: Visual Basic 6.0 SP 6 |
|
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 |