Print Page | Close Window

TabControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12597
Printed Date: 28 September 2024 at 9:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TabControl
Posted By: Boris
Subject: TabControl
Date Posted: 03 November 2008 at 3:57am
Hi,
 
I am using VB.net nowadays and what worked fine in VB6 doesn't always work in .net. In particular I am having trouble getting the Tab Control to work. I cannot add individual controls at run time. I cannot add a TabPage at design time in particluar and cannot get this to appear transparent when adding it at runtime. I cannot add controls to the TabPage Control at run time. Am I doing something wrong.
 
This is causing me a major headache. Anyone got any ideas
 
Regards
 


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013



Replies:
Posted By: Boris
Date Posted: 11 January 2009 at 8:54pm
Originally posted by Boris Boris wrote:

Hi,
 
I am using VB.net nowadays and what worked fine in VB6 doesn't always work in .net. In particular I am having trouble getting the Tab Control to work. I cannot add individual controls at run time. I cannot add a TabPage at design time in particluar and cannot get this to appear transparent when adding it at runtime. I cannot add controls to the TabPage Control at run time. Am I doing something wrong.
 
This is causing me a major headache. Anyone got any ideas
 
Regards
 
Anybody, anybody at all? Huh ??


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: mdoubson
Date Posted: 11 January 2009 at 11:11pm
Hi,
do you try to build VB.NET sample:
\Samples\ActiveX\Common\VB.NET\TabManager ?
I build it and looks it work properly - so you have a good pattern to follow. I also checked similar sample in VB:
\Samples\ActiveX\Common\VB\TabManager


Posted By: Boris
Date Posted: 12 January 2009 at 9:32am
Hi,
 
That is not the same control. The control you refer to is TabManager wheras I am using the TabControl and its sibling TabControlPage. It seems odd that CJ don't include a .Net sample of the these two controls... Oleg can you shed any light on this please?
 
Also Oleg, I am finding it quite difficult to use Xtreme Suite in the .Net environment. Are you doing any updates to ease the transition from VB6 to .Net?
 
Regards,


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: Oleg
Date Posted: 13 January 2009 at 6:25am
Hi,
 
TabControlPage can't work with .NET :(    Just check how VB.NET\TabManager sample works - it use TabControl + separate pages.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Boris
Date Posted: 13 January 2009 at 8:24am
Hi Oleg,
 
I have checked out your sample again. The in VB.net the pages are not transparent. I cannot see through to the Tabcontrol and cannot see the Office 2007 color scheme.
 
On the TabControl Tab I cannot make the property page even resemble Office 2007. I have also tried this in VB6 and cannot make that work either i.e the individual pages still have the buttonface coloring. I have downloaded the sample application from  http://www.codejock.com/downloads/samples/toolkitpro.asp - http://www.codejock.com/downloads/samples/toolkitpro.asp  and that does work albeit I cannot see any sign of Office 2007.
 
I can see how the code works in functionality terms but the whole idea of your software is to provide a consistent GUI. Any ideas. ? I am really confused now !
 
Cheers
 
 


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013


Posted By: Oleg
Date Posted: 15 January 2009 at 1:50am
Hi,
 
Sorry, Its all we can do for .NET  :(
.NET objects can't be located on ActiveX windows.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Boris
Date Posted: 19 January 2009 at 8:49am
Hi Oleg,
 
I'm not sure I understand your reply.... I am not trying to locate a .Net control on Activex windows/controls. Have I misunderstood ?
 
Regards


-------------
Boris

Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1

Platform: Windows XP (32bit) - SP 3

Language: Visual Basic 6.0 SP6

VS 2005-2008-2010-2013



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net