Re: Dream Controls: TDcInfoTree
- From: Adam Roslon <adam@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Mar 2007 06:23:43 -0500
In article <46098e27$1@xxxxxxxxxxxxxxxxxxxxxx>, uwe@xxxxxxxxxx says...
I'm not sure, but can TMS Scripter load DFM files and correctly wire theNot sure if this will do shat you are looking for but, it's worth a look
event handlers from the corresponding pas file? I have looked at quite a
lot of scripters over the last years, but didn't find anyone doing this.
May be this has changed lately.
Uwe Raabe
TMS Scripter works with Greatis Form Designer
http://tmssoftware.com/
http://www.greatis.com/delphicb/formdes/
http://www.greatis.com/delphicb/formdes/faq/formdessaveload.html
TFormDesigner allows to save and load the entire form and each of
component on the form in text or binary format. The format of the saved
data is fully compatible with standard DFM file and with VCL stream
formats. The entire form can be saved in text or binary DFM format by
the SaveToDFM procedure.
FormDesigner1.SaveToDFM('theform.dfm',dfmText);
The first parameter is file name and the second parameter is data
format, that can be dfmText or dfmBinary. The procedre LoadFormDFM loads
the form from the file.
FormDesigner1.LoadFromDFM('theform.dfm',dfmText);
The events of the form and components are saved but they can be loaded
correctly if the form contains the compatible events with the same names
in the published section, when some event is not declared the event is
ignored automatically when loading.
If you want to keep all current controls on th eform and just to add the
controls from the DFM file, set the ClearBeforeLoad property to False
(this property is True by default).
Each component on the form can be saved to stream and loaded from stream
using the SaveComponentToStream and LoadComponentFromStream routines.
.
- Follow-Ups:
- Re: Dream Controls: TDcInfoTree
- From: Walter Matte
- Re: Dream Controls: TDcInfoTree
- References:
- Dream Controls: TDcInfoTree
- From: Stanwood Campsmith
- Re: Dream Controls: TDcInfoTree
- From: Ed Dressel
- Re: Dream Controls: TDcInfoTree
- From: Uwe Raabe
- Re: Dream Controls: TDcInfoTree
- From: Adam Roslon
- Re: Dream Controls: TDcInfoTree
- From: Uwe Raabe
- Dream Controls: TDcInfoTree
- Prev by Date: delforex for d2007
- Next by Date: Re: Looking for db components for SQL Server 2005 Express
- Previous by thread: Re: Dream Controls: TDcInfoTree
- Next by thread: Re: Dream Controls: TDcInfoTree
- Index(es):
Relevant Pages
|
|