1. Notebook Stuff
- Posted by Andy <videogamefreak101 at hotmail.com> Dec 16, 2005
- 541 views
I need some help on the wxNotebook control. Like an example, thanks
2. Re: Notebook Stuff
- Posted by cklester <cklester at yahoo.com> Dec 16, 2005
- 535 views
Andy wrote: > > I need some help on the wxNotebook control. Like an example, thanks Did the demo provided in the demo folder not suffice? It's called "toolbar_notebook_grid.exw" -=ck "Programming in a state of Euphoria." http://www.cklester.com/euphoria/
3. Re: Notebook Stuff
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Dec 16, 2005
- 537 views
Andy wrote: > > I need some help on the wxNotebook control. Like an example, thanks As CK mentioned, there's the demo: "toolbar_notebook_grid.exw". You could also look at wxEDB or wxIDE to see how I use the wxNotebook control there. The basic process is that you create the wxNotebook, and then you create some wxPanels with the wxNotebook as parent. These will be the pages, or tab items for the wxNotebook. You also need to create a wxNotebookSizer. Then you use add_page() to add the pages to your wxNotebook. Create whatever controls you want for each tab as children of the appropriate wxPanel. Matt Lewis