Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / wxRadioButtons

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxRadioButtons
#2929
Posted by: lea 2003-11-20 23:27:58
Next newbie question.

How can i group wxRadioButtons, now they are all in one group.
I found this flags wxRB_GROUP, wxRB_SINGLE, but how to use them?
I do not want to use wxRadioBox...

Thx in advance!
Message2. Re: wxRadioButtons
#2930
Posted by: upCASE 2003-11-21 00:49:26
Hi!
When creating the first button in the group use the  wxRB_GROUP style. All following buttons will be in a group with the first one.
If you want to start a second group, give the first button of the new group the  wxRB_GROUP style.
Single buttons should go with the  wxRB_SINGLE style.

upcase
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: wxRadioButtons
#2936
Posted by: lea 2003-11-21 13:40:44
works:)

Sometimes there are just a few words too less in the documentation.

But then there are you.

CU
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sat 2023-2-4  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0