Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TabCtrl » Removing tabs from TabDlg?
Removing tabs from TabDlg? [message #7846] Thu, 25 January 2007 22:32 Go to next message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
I learned on the forum that I can delete all the tabs of a TabCtrl by calling "my_tab_ctrl.Reset();".

But is it possible to remove one or more tabs from a TabDlg? I need this to change the application language at runtime.

Werner

[Updated on: Thu, 25 January 2007 22:37]

Report message to a moderator

Re: Removing tabs from TabDlg? [message #7847 is a reply to message #7846] Fri, 26 January 2007 00:14 Go to previous message
mirek is currently offline  mirek
Messages: 11830
Registered: November 2005
Ultimate Member
Werner wrote on Thu, 25 January 2007 16:32

I learned on the forum that I can delete all the tabs of a TabCtrl by calling "my_tab_ctrl.Reset();".

But is it possible to remove one or more tabs from a TabDlg? I need this to change the application language at runtime.

Werner




You can't. TabDlg is highly specialized helper class. If you need tabs removal, use TabCtrl (in normal dialog).

Mirek
Previous Topic: Shortcuts on TabCtrl
Next Topic: TabCtrl and layouts
Goto Forum:
  


Current Time: Mon Apr 22 00:06:10 CEST 2019

Total time taken to generate the page: 0.00642 seconds