Error in referencing a combobox |
Post Reply |
Author | |
Cidtek
Newbie Joined: 29 June 2006 Location: Canada Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 09 December 2007 at 12:56am |
What is the syntax for passing a combobox reference to a sub? It seems that it is passing the text property instead of a reference to itself.
SomeSub Combo1
where SomeSub has a parameter (MyCombo as ComboBox).
This gives a Type Mismatch error naturally since it is passing the Text Property.
Works just fine with Vb6 controls.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Sub SomeSub(Combo As XtremeSuiteControls.ComboBox)
Private Sub Form_Load() |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |