![]()  | 
 
Type mismatch error when using tabcontrol | 
 
    Post Reply  
   | 
  
| Author | |
   
   Sampath Kumar S  
   
   Newbie  
   Joined: 26 July 2006 Location: India Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Type mismatch error when using tabcontrolPosted: 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. 
 | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
    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  |