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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel