简体   繁体   中英

Replacement for RadioGroup in Delphi prism

In Delphi, there is RadioGroup control but not in Delphi Prism. Do you know if there is any similar control for Delphi prism? I have searched my toolbox and all I can find is CheckedListBox. I have been using it and this control is not functioning the same way as RadioGroup control.

In WinForms the standard way to do this is to add a group box and then add radio buttons to that group box. The radio buttons will automatically be grouped. But there's nothing like the VCL ItemIndex property so you'll have to use the Checked property of each radio button to determine which item is selected.

I believe that most of the 3rd party component vendors (eg devexpress) fill this gap in the standard component set by providing radio group controls similar to that found in the VCL.

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