Hello
How to change TRadioButton state when form is hidden (win32)?

In Form2 I have 2 Radiobuttons. In Form1 I try do something like that:

procedure TForm1.Button1Click(Sender: TObject);
begin
   Form2.RadioButton2.Checked:=true;
   if Form2.RadioButton2.Checked then
     ShowMessage('RadioButton2.Checked:=true');
   Form2.Show;
end;

MessageBox with information "RadioButton2.Checked:=true" is showed, but in  
showed Form2 RadioButton1 is still checked.

I use Lazarus 0.9.27 rev 17395, fpc 2.2.3 ,win32 - Windows Vista 32 bit

REGARDS

Andrzej "And3mD" Kilijanski
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to