Does any one give me an idea how to implement wxChoicebook
My application is divided into two section
Left side is wxTree Ctrl
Right side wxPanel
Tree control conatins panel id which shows one wxCombobox and wxChoicebook on Click event. This i have done by making class inherited from wxPanel . the constructor of the class initialize wxCombobox and wxChoicebook.
Till now no problem...
Now i want to add one more Id in the tree control which facilitate the user to append new panel id in the tree control and this new id should create empty wxCombobox and wxChoicebook in order that user can input their own values in the wxComboBox and wxChoicebook.
How can i create empty wxCombobox and wxChoicebook by calling the same panel class.
How can user append their own value in wxChoicebookk and wxCombobox?????
Any hint???????????
wxChoicebook problem Topic is solved
-
- Experienced Solver
- Posts: 96
- Joined: Fri Jun 17, 2005 1:53 pm
- Location: Germany
- Contact:
- ABX
- Can't get richer than this
- Posts: 810
- Joined: Mon Sep 06, 2004 1:43 pm
- Location: Poznan, Poland
- Contact:
Re: wxChoicebook problem
wxChoicebook has exactly the same interface like wxNotebook. See wxWidgets/samples/notebook sample where wxChoicebook is presented.Muhammad Sohail wrote:Does any one give me an idea how to implement wxChoicebook
You can't append value to wxChoicebook because wxChoicebook is not cotainer for values. It's container of pages and switching between pages happens through selecting name of the page in wxChoice controller.Muhammad Sohail wrote:How can user append their own value in wxChoicebookk and wxCombobox?????
ABX
CVS Head, 2.8.X
wxMSW, wxWinCE, wxPalmOS, wxOS2, wxMGL, bakefile
gcc 3.2.3, bcc 5.51, dmc 8.48, ow 1.6, vc 7.1, evc 3/4, pods 1.2
wxMSW, wxWinCE, wxPalmOS, wxOS2, wxMGL, bakefile
gcc 3.2.3, bcc 5.51, dmc 8.48, ow 1.6, vc 7.1, evc 3/4, pods 1.2
-
- Experienced Solver
- Posts: 96
- Joined: Fri Jun 17, 2005 1:53 pm
- Location: Germany
- Contact:
- ABX
- Can't get richer than this
- Posts: 810
- Joined: Mon Sep 06, 2004 1:43 pm
- Location: Poznan, Poland
- Contact:
As people wrote working on manual at http://www.wxwidgets.org/manuals/2.6.2/ ... etpagetext and http://www.wxwidgets.org/manuals/2.6.2/ ... ssetstring it is wxChoicebook::SetPageText(size_t page, const wxString& text) and wxCombobox::SetString(int n, const wxString& string). If manual is not for finding such things, then for what?Muhammad Sohail wrote:How can user edit wxChoicebook labels and wxCombobox text.

ABX
CVS Head, 2.8.X
wxMSW, wxWinCE, wxPalmOS, wxOS2, wxMGL, bakefile
gcc 3.2.3, bcc 5.51, dmc 8.48, ow 1.6, vc 7.1, evc 3/4, pods 1.2
wxMSW, wxWinCE, wxPalmOS, wxOS2, wxMGL, bakefile
gcc 3.2.3, bcc 5.51, dmc 8.48, ow 1.6, vc 7.1, evc 3/4, pods 1.2