简体   繁体   中英

RadioGroup in c++ builder

I have two forms in my project in c++ Builder 2010. I have created RadioGroup in the second and listed all my buttons there, but I have few problems:

  1. When I load my form and check some button, the earlier selection stays checked until I hover mouse over it.

  2. How to make the buttons from second form affect the first form?

  3. How to make certain TEdit box go grey and unselectable when checking certain radiobuttons?

I found this by googling embarcadero radio, first hit: embarcadero docs

Essentially, radio buttons are not mutually exclusive unless you use a radio group.

Two questions in one is not a great idea, but to answer the second just set TButton->Enabled to false.

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