[Lazarus] Carbon: Loosing kAEOpenDocuments AppleEvents before AppRun

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Oct 28 22:01:52 CET 2009


dmitry boyarintsev schrieb:
> It seems like AEOpenDocuments event is processed, but since
> OnDropFiles event is not yet assigned, it's not fired.
> 
> So farm I can think of the following solution (in carbon widgetset).
> AEOpenDocument events and gathered and called on Application.Run,
> since form events are initialized and would be processed as expected.

How are the procedures on other platforms, for this situation?
Doesn't Windows convert the dropped files into command line arguments?

If so, similar default processing could be implemented for MacOS - a 
default OnDropFiles handler, saving the filenames for later use.

DoDi





More information about the Lazarus mailing list