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
p...@freemail.hu


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to