Joost van der Sluis wrote: > > Can we move this functionality to the CustApp unit? That way you can > always refer to custapp.Application and you have the 'current' > application instance.
Without looking at the code, this sounds like a better plan. I can't remember the exact details (it was very long ago), but I do remember I hit a similar issue in fpGUI Toolkit, and instead implemented my own fpgApplication singleton, which descended directly from TComponent to overcome the issue. Being able to go back to TCustomApplication included in FPC would be nice. Not to mention the more well known Application instance instead of fpgApplication instance. Regards, - Graeme - _______________________________________________________ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
