a RadioButton as the label of a StaticBoxSizer
Frederic Triquet
frederic.triquet at gmail.com
Thu Mar 22 09:04:44 PDT 2007
Hello,
I would like to create a window looking and behaving like the one you
have under MS-Windows when you configure the properties of TCP/IP
Protocol:
two radio buttons
* Get an IP address automatically
* Use the following IP Address
with the second radio button being the label of a box containing
fields where the user can put a static IP address.
This box is disabled if the first radio button is selected.
wxStaticBoxSizer constructor can only take a wxString as a label, not
a wxRadioButton.
I just want to knowif it is possible to do that or if the layout has
to be changed (which is actually not a problem at all).
Another question (that maybe deserves its own topic) :
is there any widget that allows the user to easily type in an IP
address (for instance containing already the 3 dots) or do we have to
use a (or maybe 4) TextCtrl with a validator ?
Best regards,
Fred
More information about the wx-users
mailing list