On Fri, 2 Aug 2013, Michael Schnell wrote:

On 08/02/2013 11:07 AM, Michael Van Canneyt wrote:
Widget types do not even enter the picture, customapplication is included in FPC, not Lazarus.


I see. Thanks.

So you suggest deriving and instantiating a propriety application from the TCustomApplication class ?

I don't suggest anything. I just react on incorrect information.


Will that automatically provide the correct string as MyApplication.ExeName ?

Yes.

I thing just using the Lazarus NoGUI Widget Type is more appropriate.

No, for 2 reasons:

1) It creates unwanted dependencies. 2) It creates the illusion of functionality which isn't actually there.

Sooner or later it will bite you in the leg.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to