Home » U++ TheIDE » U++ TheIDE: Layout (Forms) Designer » Looking for a Panel Ctrl...
Re: Looking for a Panel Ctrl... [message #12987 is a reply to message #12986] |
Mon, 03 December 2007 11:44   |
|
Well it's quite easy to implement 
class PanelCtrl : public Ctrl
{
void Enable(bool b)
{
Ctrl * ctrl = GetFirstChild();
while(ctrl)
{
ctrl->Enable(b);
ctrl = ctrl->GetNext();
}
}
};
PanelCtrl panel;
panel.Add(droplist0);
panel.Add(droplist1);
panel.Enable(false);
Bad news is layout editor dosn't support visualisation of child<->parent relation, so you must add all control to panel manually.
|
|
|
Goto Forum:
Current Time: Tue Jun 03 04:50:56 CEST 2025
Total time taken to generate the page: 0.02851 seconds
|