mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
17 lines
303 B
C++
17 lines
303 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#define LAYOUTFILE <TabDlg/TabDlg.lay>
|
|
#include <CtrlCore/lay.h>
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
TabDlg dlg;
|
|
WithTab1Layout<ParentCtrl> tab1;
|
|
WithTab2Layout<ParentCtrl> tab2;
|
|
dlg(tab1, "Tab1")(tab2, "Tab2")
|
|
.OKCancel()
|
|
.Title("Tab dialog");
|
|
dlg.Run();
|
|
}
|