I'm adding radio buttons to a form dynamically, e.g.
RadioButtonArray[j] := TRadioButton.Create(Form3) ;
With RadioButtonArray[j] do
begin
parent := ScrollBox1 ;
tag := j ;
top := ... etc....
left := ........
end ;
I need to have a common OnClick handler for all these radio buttons. The
handler will hide or show various combinations of regular buttons on the
form, and change their captions, depending on the tag of the radio button
that was clicked.
For this kind of run-time form creation, how can I assign the handler to the
buttons ?
--- PPoint 2.00
---------------
* Origin: Kingston, Canada (1:249/109.11)
|