Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-04

Application.Handle

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Juha gmail

Hi

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

        APlugin.Initialize(Application.Handle);

Juha

Reply by email

Paul Ishenin
to Juha gmail
Juha 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

Reply by email