[Lazarus] Some thoughts about the global 'Application' instance.
Graeme Geldenhuys
graemeg at opensoft.homeip.net
Thu Jun 18 16:48:59 CEST 2009
Zaher Dirkey wrote:
>
> If it is done, i will like it, because i can create my custom
> application class then add my special properties.
Exactly what I want to do too. Including improving parameter handling
so my custom application can inject it's supported parameters (and -?
help output) into the CustApp ones.
eg:
TCustomApplication
|
TfpgApplication
|
TMyProjectApplication
And if you to the following from the Linux command line:
$ MyProject -?
it will output something like:
================================
MyProject v1.0
Copyright by .....
General parameters
-? Help
fpGUI supported parameters
-display
-style
MyProject supported parameters
-l Log
-lv Log to separate window
-lc Log to console
....
================================
Regards,
- Graeme -
_______________________________________________________
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list