[fpc-devel] New global CustomApplication variable

Martin Schreiber fpmse at bluewin.ch
Tue Oct 13 13:38:10 CEST 2009


On Monday 12 October 2009 17:09:42 Joost van der Sluis wrote:

> > MSEide has its own implementation of
> > tcustomapplication/tapplication/tguiapplication with a similar approach.
>
> Yes, offcourse. But the idea is to unify this. So that you can access
> the CustomApplication without knowing if you are using Lazarus or
> MDEide. So can you set the global CustomApplication variable in MSEIde,
> so it's also accessible for other units?
>
MSEgui has functions which return a singleton of the application instance. 
msegui.application function returns a tguiapplication, msenogui.application 
function a tnoguiapplication, both inherit from MSEgui tcustomapplication 
which is independent from FPC TCustomApplication, MSEgui application object 
implementation is incompatible to FPC I fear.

Martin



More information about the fpc-devel mailing list