Print Page | Close Window

CXTPTabControl usage

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7332
Printed Date: 13 November 2025 at 2:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabControl usage
Posted By: d324
Subject: CXTPTabControl usage
Date Posted: 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.





Replies:
Posted By: Oleg
Date 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


Posted By: sasank
Date 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


Posted By: Oleg
Date Posted: 10 June 2007 at 1:45am
Hi,
See Samples\ToolkitPro\TabbedView  sample.


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


Posted By: d324
Date Posted: 11 June 2007 at 11:33pm
Thanks.

The Notify flag was the missing piece.



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