Palmito
Well-known member
Hi,
I need for my project some sort of editable list.
My functional need is for a master-detail table:
- a TreeBox containing master elements (this works perfectly)
- a zone next to it where I can directly edit several details values (this is where I do not manage to update controls dynamically)
I looked into TreeBox as it seems the way to go for lists, but it doesn't support edition and I don't think I can extend it for my purpose.
So I looked into Sizers, I have HorizontalSizers containing a Label and a TextBox. I then add my HorizontalSizers into a VerticalSizer.
This works fine if controls are created in the constructor, but doesn't if I do it after my dialog as been painted (ie on node click).
What is the way to achieve this?
Thanks!
I need for my project some sort of editable list.
My functional need is for a master-detail table:
- a TreeBox containing master elements (this works perfectly)
- a zone next to it where I can directly edit several details values (this is where I do not manage to update controls dynamically)
I looked into TreeBox as it seems the way to go for lists, but it doesn't support edition and I don't think I can extend it for my purpose.
So I looked into Sizers, I have HorizontalSizers containing a Label and a TextBox. I then add my HorizontalSizers into a VerticalSizer.
This works fine if controls are created in the constructor, but doesn't if I do it after my dialog as been painted (ie on node click).
What is the way to achieve this?
Thanks!