简体   繁体   中英

How to add scroll bar in wxRadioBox?

I am using wxRadioBox to display multiple names with radio buttons, but I need a scroll bar for it? How can I achieve that?

wxRadioBox doesn't provide the scroll feature.

You can use several wxRadioButton instead.

Create all your "options" as children of a scrolled window. Don't forget to set wxRB_GROUP .

The scrolled window itself can be a child of a wxStaticBox, so you can get the border+title effect.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM