TabbedNotebook, hiding tab, how?

Hello guys,

How could I hide some tabs from my TabbedNotebook??

Is there any way?

Alex
LVL 1
hidrauAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle FosterCEOCommented:
You can't hide individual tabs/pages for TTabbedNotebook - you can only add/delete Pages (TStrings). Maybe you should consider using some other control...

heres the previous thread with the same issue

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20892912.html

What version of Delphi are you using.  If it's available in your  version D5 and beyone I believe use the TPageControl from the Win32 pallette page.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hidrauAuthor Commented:
Yeah kfoster11. I am using D5 but the system I am working stems from the first delphi version. The terrible thing is that this form has so many tabs and so many components, I will have to work hard to change all the things, well, maybe is the only way.

Thanks for that.
Alex
Kyle FosterCEOCommented:
So much fun.

I would say to backup the app and modify the dfm as text.

Replace the reference to the TTabbedNotebood with a TPageControl and so forth, but the properties are so much different it may take some work.

Probably much easier than copying all of the controls though.
Mark BradyPrincipal Data EngineerCommented:
Take a look at this question I think you will get the idea.

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_21629598.html#15969983

Cheers
Elvin
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.