[Lazarus] Obtaining Control Address

Paul Ishenin ip at kmiac.ru
Fri Jul 30 02:28:46 CEST 2010


30.07.2010 8:06, SteveG wrote:
> Would anybody know how to obtain the address of the following control?
>
> Arg1 := @Application.Components[0];
>
> This results in "Variable identifier expected" error

A class instance is already a pointer.

Arg1 := Application.Components[0] is enough.

Best regards,
Paul Ishenin.





More information about the Lazarus mailing list