Hello, I am adding a notebook to my form, and would like to move
some of the form's controls into it. Is there a way to do this?
I have tried cutting and pasting a control into the notebook, but
this doesn't work. Have also tried changing the parent field in the
Create GUI controls section of the code, but that didn't work either.
thanks!
Changing a control's parent
-
- Experienced Solver
- Posts: 61
- Joined: Sat Jan 28, 2012 3:55 pm
- Location: Houston TX
- Contact:
Changing a control's parent
Windows XP, wxDev-C++ 7.4.2.259, wxWidgets 2.8.12, MingW
-
- Earned some good credits
- Posts: 113
- Joined: Sat Sep 24, 2011 9:32 pm
- Location: Poland
Re: Changing a control's parent
wxNotebook is a container for pages. You need to put inside of your wxNotebook some wxNotebookPage. Inside of wxNotebookPage you can put some controls.
Regards
Jarek
Regards
Jarek