If you typecast something you can use the fields and properties of the
type you use for casting, for example:
if TCheckBox(Sender).Checked then {do_something} ;
or
if TCheckBox(Components[I]).Checked then {do_something} ;
2015-07-27 00:31 keltezéssel, Bob B. írta:
> how to get Type of Sender or Components[i] in order to Cast?
> Thanks.
>
> Bob B.
>
--
Péter Gábor
[email protected]
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus