Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / June 2005



Tip: Looking for answers? Try searching our database.

Disable/Remove Tabs from LTabsControl

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Neel - 27 Jun 2005 11:38 GMT
Hi,
       I am trying to disable some of the tabs from LTabsControl. I
have implemented
MPV , with Say Five different tabs in which if suppose i want to  show
only first three
or last two ( according to user request with selection of checkbox )
then how should i remove/disappear the existing tabs from LTabsControl
and show only
the ( checked ) first three tabs in LTabsControl.
       Again if i want to load existing tabs and want to show in
LTabsControl then which method should i use ? I tried with
SwithToPanel(); method but it only switch to related view but the tab
remains there only.
        I am trying to hide some of the tabs and again load existing
tab  on the fly. Anyone have any advice on this !!! or Sample code
which shows how to hide the tabs and load existing tabs from ppbo.

Thanks in advance.
Isaac Wankerl - 28 Jun 2005 17:13 GMT
> Hi,
>         I am trying to disable some of the tabs from LTabsControl. I
[quoted text clipped - 14 lines]
>
> Thanks in advance.

Apple only provides APIs to add or remove tabs to/from the end of the
list.  If you need to insert a tab in the middle, you would need to add
a tab at the end, then shift your content over.

Signature

Isaac Wankerl
Metrowerks

Neel - 30 Jun 2005 11:02 GMT
Using SetControlData API allow to add tab inbetween but it doesnt
working properly. Do we need to remove panel at the same index before
adding new tab to the similar one.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.