[Lazarus] Application.Handle

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Application.Handle

Juha Manninen
Hi

Can "Application.Handle" be ported to Lazarus as "Application.MainFormHandle"?
It is use for a plugin system:
        APlugin.Initialize(Application.Handle);

Juha

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Application.Handle

Paul Ishenin
04.04.2011 0:06, Juha (gmail) wrote:
> Can "Application.Handle" be ported to Lazarus as "Application.MainFormHandle"?
> It is use for a plugin system:
>          APlugin.Initialize(Application.Handle);
Depends on your plugin needs. But I don't think so because they are
different handles.

better use:
APlugin.Initialize(WidgetSet.AppHandle)'

Best regards,
Paul Ishenin

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus