Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - TabControl problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TabControl problem

 Post Reply Post Reply
Author
Message
BGR_WEB View Drop Down
Newbie
Newbie
Avatar

Joined: 10 August 2007
Location: Canada
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote BGR_WEB Quote  Post ReplyReply Direct Link To This Post Topic: TabControl problem
    Posted: 13 August 2007 at 2:57pm
Hi there,
   Might be a silly question but am stuck here so got to ask.. !
 
Is there a place where I could find a sample of the tabcontrol ? Because I cant get it to work properly...
 
I am using visual studio 2005 with vb.net.
one simple form..
a tabcontrol on it ( with 3 tabs.. )
if I put for exemple a button on the tab ( in design time ) I will see this button on all tabs on run time...
 
So basically I cant figure out to add my controls on the tabcontrol on design time..
 
Or perhaps this is something that we cannot do?
 
Thanks
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: 13 August 2007 at 3:46pm
Hi,
 
Sorry, ActiveX control can't be container for .NET controls in design time. :(
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
BGR_WEB View Drop Down
Newbie
Newbie
Avatar

Joined: 10 August 2007
Location: Canada
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote BGR_WEB Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2007 at 4:38pm
haaaa.  so I was not so stupid then...
 
Ok well in this case this means I have to design the control on the run time...
 
Can you post me a snippet of code that actually shows me how to do that?  I mean how to link the control to the tab1 , tab2 etc once the control are created..
 
Thanks
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: 14 August 2007 at 1:28am
Hello,
You can create some panels for TabPages, put all controls to panels and manually show/hide them in SelectedChanged event.
 
But think easy to use standard TabControl from .NET. :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
BGR_WEB View Drop Down
Newbie
Newbie
Avatar

Joined: 10 August 2007
Location: Canada
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote BGR_WEB Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2007 at 10:18am
yeah that would be a solution.
But honestly, the only reason why I wanted to use the tabcontrol from the suite was for the "office" style that we could apply on it.
 
I do not know how to apply that style on the standard tabControl.. if this is easily doable and you have a quick way to point me out on how to do that well it would be really appreciated then.
 
Thanks
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: 14 August 2007 at 10:26am
Hello,
 
Sorry we don't have solution for .NET TabControl.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
BGR_WEB View Drop Down
Newbie
Newbie
Avatar

Joined: 10 August 2007
Location: Canada
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote BGR_WEB Quote  Post ReplyReply Direct Link To This Post Posted: 14 August 2007 at 10:28am
No problem.
Thanks
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.156 seconds.