I have a question regarding the use of "as" in this statement. > (RadioGroup1.Controls[0] as TRadioButton).SetFocus;
I've always done it like this:
TRadioButton(RadioGroup1.Controls[0]).SetFocus;
Is one more efficient or beneficial than the other?
Regards,
Ross.
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

