Print Page | Close Window

CXTPTabControl - Close button

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=9403
Printed Date: 14 November 2025 at 7:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabControl - Close button
Posted By: Shajeer
Subject: CXTPTabControl - Close button
Date Posted: 24 January 2008 at 7:24am
Hi
I am using CXTPTabControl for showing multiple views in SDI application. I want to make sure atleast one view exists always.
 
In CXTPTabControl where I will be notified when clicked on close button, and how to avoid closing the tab.
 
Thanks
Shajeer
 



Replies:
Posted By: Oleg
Date Posted: 24 January 2008 at 8:36am
Hi,
 
Simple solution call SetClosable(FALSE) for one of tab.
Difficult is to override OnNavigateButtonClick method.
See sources.


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


Posted By: Shajeer
Date Posted: 24 January 2008 at 9:27am

Thanks for your quick reply.

I just want to know one more thing.
I am using CXTPTabControl for showing mutiple webpages(views) at the same time.
Is there any option in the CXTPTabControl for showing the progress of the download of website in the tab itself as like IE 7.0
.
 
Thanks
Shajeer


Posted By: Oleg
Date Posted: 24 January 2008 at 9:43am
Hello,
You can create some images and dynamically change them. There is no option to make it automatially.


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



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