GBrain MDI Application
Expert by
- Warning! Delphi 4
only
-
- The GBrain Expert is derived from the Expertdemo supplied
with Borland Delphi, however it is heavily modified and
produces code for MDI projects only!
- This product is a Beta
release and is for test purposes only
- You use it at your own
risk!
- The Author will not be held liable under any
circumstances for any loss/damage whatsoever however
occasioned by the use or inability to use this product
and the resultant code
- Use of the expert is for the most part self evident
however there are a few considerations to get things to
work properly
- You must use the MDICHILD form to derrive your forms from
and override the methods contained therein for close,
cut, copy, paste, loadfile,savefile, savefileas &
print to have your application work properly
- You must also override the methods in the main.pas file
to support non MDI dialogs & forms in your
application
- Your non MDI forms should also be derrived from the
MDICHILD form as this form contains the window management
code, in this case you also need to override the code in
main.pas to close all non MDI forms
The version info resource is required by the about box and it
will not work without it!
- You also need to add the following keys to your version
info (you should set them to default)
- Email:Your.email@your.domain
- URL:your.web.address
- ProductKey:any arbitrary value for your product this will be used for on-line product
registration
- UpdateKey:your.web.address/yourappupdatefile.inf this will be used for web updates and
patches
- HostDirect:your.web.address/newsfile.dat this is for future use for a Delphi
Direct type feature
HostDirect,Updatekey and ProductKey are for future use, there
are plans to build in the ability to register online and update
automatically from your web host
If
you can assist in building these features then email me
Source code on request!
-
Top
Installation
- To install the GBrain expert use regedit to create
the key
- HKEY_CURRENT_USER\Software\Borland\Delphi\4.0\Experts
- create a string value with the name GBrain pointing
to the GBrain.dll file eg:C:\LIB\EnExperts\GBrain.dll
- Restart Borland Delphi 4
- Your new expert should be in the projects page of the
new items dialog
Top
Credits:
Peter
Ivan Dunne, Primary developer