Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to hide tabs of CXTPTabControl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to hide tabs of CXTPTabControl

 Post Reply Post Reply
Author
Message
lovelypp View Drop Down
Groupie
Groupie


Joined: 17 January 2008
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote lovelypp Quote  Post ReplyReply Direct Link To This Post Topic: How to hide tabs of CXTPTabControl
    Posted: 08 March 2008 at 7:08am

How to hide and show tabs of CXTPTabControls ?

Thanks!
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 08 March 2008 at 12:08pm
Hi,
Did you try Getitem(i)->SetVisible ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
lovelypp View Drop Down
Groupie
Groupie


Joined: 17 January 2008
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote lovelypp Quote  Post ReplyReply Direct Link To This Post Posted: 08 March 2008 at 6:55pm

Sorry, I didn't express myself clearly.

What I mean is to show /hide the tab button of a tab page.  How ?
thanks anyway.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 09 March 2008 at 3:13am

Hi

Still don't understand. Getitem(i)->SetVisible hides tab button of tab page.
try it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
lovelypp View Drop Down
Groupie
Groupie


Joined: 17 January 2008
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote lovelypp Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2008 at 7:17am

ok, when all the tab buttons are hide, the space  is still there.

I thank SetVisible should be a property of  tab control, but not tab page.
 
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.063 seconds.