Home » U++ Library support » TabCtrl » Why not drop ParentCtrl pane and add Ctrls directly to TabBarCtrl?
Why not drop ParentCtrl pane and add Ctrls directly to TabBarCtrl? [message #37597] |
Tue, 23 October 2012 22:45 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
Is there a special reason for having a separate pane in TabBarCtrl? to group them? To only modify pane Rect on Layout()?
I modified my TabBarCtrl implementation and it seems to work..
i do SetRect(GetClientArea()) to all Ctrls in ctrls..
Am I forgetting sth?
The point behind it: make TabBar simpler in hierarchy, maybe even having manage adding/removing to/from ctrls in the ChildAdded() / ChildRemoved()?
EDIT: attached the patch file to show what i'm talking about
[Updated on: Tue, 23 October 2012 23:00] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Sat Jul 27 17:47:56 CEST 2024
Total time taken to generate the page: 0.02252 seconds
|