Re: [Lazarus] Obtaining Control Address

2010-07-29 Thread SteveG
SteveG wrote: SteveG wrote: Paul Ishenin wrote: 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 := App

Re: [Lazarus] Obtaining Control Address

2010-07-29 Thread SteveG
SteveG wrote: Paul Ishenin wrote: 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.Compon

Re: [Lazarus] Obtaining Control Address

2010-07-29 Thread SteveG
Paul Ishenin wrote: 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 enou

Re: [Lazarus] Obtaining Control Address

2010-07-29 Thread Paul Ishenin
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, Pa

[Lazarus] Obtaining Control Address

2010-07-29 Thread SteveG
Would anybody know how to obtain the address of the following control? Arg1 := @Application.Components[0]; This results in "Variable identifier expected" error Thanks - SteveG -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http