|
TurboExplorer를 사용하고 있습니다.
A폼에서 B폼에 있는 TRadioButton::Checked 프로퍼티를 설정하고,
B폼의 ShowModal() 함수를 호출했지만, RadioButton check가 정상 동작을 안하는 것 같습니다.
B폼의 다른 RadioButton들을 명시적으로 Checked=false를 하고, 원하는 버튼만 Checked=true 해도 변경이 안되네요.
다른 폼에 있는 RadioButton은 제어가 안되나요?
A::OnClick()
{
B->RadioButton1->Checked=true;
if(B->RadioButton1->Checked) ShowMessage("Enable1"); // 디버깅 시 true
B->ShowModal(); // Show() 함수도 마찬가지
}
B::FormShow()
{
if(RadioButton1->Checked) ShowMessage("Enable2"); // 디버깅 시 true
}
폼이 완전히 보여진 후에는 RadioButton1이 아닌 다른 버튼에 체크되어 있습니다.
|