U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TabCtrl » Disappearing tabs in TabCtrl
Disappearing tabs in TabCtrl [message #23527] Tue, 27 October 2009 14:40 Go to previous message
Zbych is currently offline  Zbych
Messages: 332
Registered: July 2009
Senior Member
Hi,

I found funny problem with TabCtrl. When I maximize and minimize TabDlg example program when the second tab is selected, first tab "disappears" (see attached screenshot).

Steps to trigger this behavior:
1. Add MinimizeBox and MaximizeBox to TabDlg example program.
GUI_APP_MAIN
{
	TabDlg dlg;
	dlg.MinimizeBox().MaximizeBox();
	WithTab1Layout<ParentCtrl> tab1;
	WithTab2Layout<ParentCtrl> tab2;
	dlg(tab1, "Tab1")(tab2, "Tab2")
	   .OKCancel()
	   .Title("Tab dialog");
	dlg.Run();
}

2. Run it, switch to the second tab.
3. Maximize window
4. Minimize it to task bar.
5. Restore window (first tab should be gone).
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: TabCtrl crash in debug mode when using remove method
Next Topic: Hide tab in TabCtrl
Goto Forum:
  


Current Time: Fri Jun 05 16:57:01 GMT+2 2026

Total time taken to generate the page: 0.00573 seconds