![]() |
CXTPTabControl usage |
Post Reply
|
| Author | |
d324
Groupie
Joined: 16 April 2007 Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPTabControl usagePosted: 08 June 2007 at 4:22am |
|
I'm using a CXTPTabControl in a CDialog, just as in the TKP's TabManager example.
Problem occurs when I let the dialog create the CXTPTabControl for me as Dialog Data. The tab control and the views, at least the first view, are created. However, nothing happens when I click the tab of other views. But, if I manage CXTPTabControl as a private field myself, call Create() explicitly, then everything works. Did I miss something from the sample code? Or should I just manage XTP objects myself? Thanks. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 June 2007 at 6:00am |
|
Hi,
What control do you subclass to CXTPTabControl?
if STATIC you need check Notify flag.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
sasank
Newbie
Joined: 16 May 2007 Location: India Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 June 2007 at 6:11am |
|
hi
i would like to create a multi-tabbed sdi application with multiple views using codejock. please let me know the best procedure to do this. sasank |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 June 2007 at 1:45am |
|
Hi,
See Samples\ToolkitPro\TabbedView sample.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
d324
Groupie
Joined: 16 April 2007 Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 June 2007 at 11:33pm |
|
Thanks.
The Notify flag was the missing piece. |
|
![]() |
|
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 |