[fpc-devel] New global CustomApplication variable

Joost van der Sluis joost at cnoc.nl
Tue Oct 13 13:54:59 CEST 2009


On Tue, 2009-10-13 at 13:38 +0200, Martin Schreiber wrote:
> 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.

Ok, that's clear. In that case this global variable is useless for
MSEgui. 

But why don't you use fpc's TCustomApplication? Can we improve it so
that you could use it?

Joost




More information about the fpc-devel mailing list