About previous comments.

Application cannot be a unit because this is backwards incompatible.

Application cannot be a function because this is backwards incompatible.

It could be tested if CustApp may have a global variable, for example
CustomApplication and somehow link it to the Application variable in
forms. Probably if CustomApplication = nil then LCL creates it's
application and set's it to CustomApplication too, if not, it just
uses whatever is already in CustomApplication. Not sure how to keep
both the same if CustomApplication changes, then Application needs and
update and vice-versa

-- 
Felipe Monteiro de Carvalho

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

Reply via email to