Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Type mismatch error when using tabcontrol
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Type mismatch error when using tabcontrol

 Post Reply Post Reply
Author
Message
Sampath Kumar S View Drop Down
Newbie
Newbie
Avatar

Joined: 26 July 2006
Location: India
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sampath Kumar S Quote  Post ReplyReply Direct Link To This Post Topic: Type mismatch error when using tabcontrol
    Posted: 17 October 2006 at 2:48am
Having problem in vb6 for withevent setting.
 
 
Private WithEvents TabStrip   As XtremeSuiteControls.TabControl
 
private sub form_load()
 
'dynamically adding usercontrol into the form and setting the tabcontrol to tabstrip for eg.
 
  set tabstrip = usercontrol.controls(0) 'which is a XtremeSuiteControls.TabControl.
 
end sub
 
Need help to solve this issue.
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 October 2006 at 2:39am
Hello,
 
it wortks for me.
 
code of UserControl:
 
Property Get TabControl() As Control
Set TabControl = TabControl1
End Property
 
code of Form:
 
Private WithEvents TabStrip   As XtremeSuiteControls.TabControl
Private Sub Form_Load()
Set TabStrip = UserControl11.TabControl
End Sub
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.