Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
UppHub
Status & Roadmap
FAQ
Authors & License
Forums
Funding U++
Search on this site











SourceForge.net Logo

SourceForge.net Logo

GitHub Logo

Discord Logo

TabDlg

 

class TabDlg : public TopWindow

TabDlg is a class intended to simplify creation of standard multi-tabbed dialogs - dialogs with at most 4 predefined buttons and TabCtrl.

 

 

Public Field List

 

TabCtrl tabctrl

TabCtrl used in dialog. Presented in interface to allow modification of properties.

 


 

Button ok

Button cancel

Button exit

Button apply

Dialog buttons. Presented in interface to allow modification of properties.

 

 

Public Method List

 

template <class T> TabCtrl::Item& Add(T& tab, const char *text)

template <class T> TabCtrl::Item& Add(T& tab, const Image& img, const char *name)

Adds tab dialog pane to the TabCtrl tab named text, optionally with img. The size of dialog window is determined by calling GetRect() for individual tabs (note that CtrlLayout functions set this to the designed size).

 


 

template <class T> TabDlg& operator()(T& tab, const char *text)

template <class T> TabDlg& operator()(T& tab, const Image& img, const char *txt)

Operator versions of Add for more compact code.

 


 

TabDlg& OK()

TabDlg& Cancel()

TabDlg& OKCancel()

TabDlg& Exit()

TabDlg& Apply()

These methods add buttons to dialog.

 

 

Do you want to contribute?