Zitat von Graeme Geldenhuys [EMAIL PROTECTED]:
On 23/07/07, Mattias Gärtner [EMAIL PROTECTED] wrote:
The lfm reader/writer was at hand at the time. Nowadays we could use the
xml
reader/writer too, although that is less human readable.
Using pascal source as file format would be possible
Hi,
What are the pros and cons for letting the form designer add code
inside the .pas unit instead of a separate .lfm file?
For example:
Lazarus and Delphi uses external files (.lfm and .dfm) to save
information about forms designed using the form designer.
Visual Studio and CodeGear's C#
On Mon, 23 Jul 2007, Graeme Geldenhuys wrote:
Hi,
What are the pros and cons for letting the form designer add code
inside the .pas unit instead of a separate .lfm file?
The .lfm file is not code. It's a resource, which you can replace
at runtime.
Michael.
On 23/07/07, Michael Van Canneyt [EMAIL PROTECTED] wrote:
The .lfm file is not code. It's a resource, which you can replace
at runtime.
OK, I understand the resource part. It's components that have been
streamed to a file. From this I also assume that it will recreate the
form faster than via
On Mon, 23 Jul 2007, Graeme Geldenhuys wrote:
On 23/07/07, Michael Van Canneyt [EMAIL PROTECTED] wrote:
The .lfm file is not code. It's a resource, which you can replace
at runtime.
OK, I understand the resource part. It's components that have been
streamed to a file. From this I
Graeme Geldenhuys wrote:
Hi,
What are the pros and cons for letting the form designer add code
inside the .pas unit instead of a separate .lfm file?
For example:
Lazarus and Delphi uses external files (.lfm and .dfm) to save
information about forms designed using the form designer.
.dfm
On Mon, 23 Jul 2007, Al Boldi wrote:
Graeme Geldenhuys wrote:
Hi,
What are the pros and cons for letting the form designer add code
inside the .pas unit instead of a separate .lfm file?
For example:
Lazarus and Delphi uses external files (.lfm and .dfm) to save
information
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Al Boldi wrote:
Graeme Geldenhuys wrote:
So again, what is the pros and cons between the two design choices
when using the Object Pascal language?
.dfm is good for beginners, who get confused looking at code they didn't
write.
.pas
On Mon, 23 Jul 2007, Al Boldi wrote:
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Al Boldi wrote:
Graeme Geldenhuys wrote:
So again, what is the pros and cons between the two design choices
when using the Object Pascal language?
.dfm is good for beginners, who get
On Mon, 23 Jul 2007, Al Boldi wrote:
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Al Boldi wrote:
This really has nothing to do with resources. Resources should still be
saved in its own .res file.
Forms are stored in resources. A dfm is changed to resource and then
compiled
Zitat von Al Boldi [EMAIL PROTECTED]:
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Al Boldi wrote:
Graeme Geldenhuys wrote:
So again, what is the pros and cons between the two design choices
when using the Object Pascal language?
.dfm is good for beginners, who get confused
On Mon, 23 Jul 2007, Sergei Gorelkin wrote:
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Graeme Geldenhuys wrote:
On 23/07/07, Michael Van Canneyt [EMAIL PROTECTED] wrote:
The .lfm file is not code. It's a resource, which you can replace
at runtime.
OK, I understand
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Al Boldi wrote:
This really has nothing to do with resources. Resources should still be
saved in its own .res file.
Forms are stored in resources. A dfm is changed to resource and then
compiled in the binary ?
The .dfm is being used for two
Mattias Gärtner wrote:
Zitat von Al Boldi [EMAIL PROTECTED]:
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Al Boldi wrote:
Graeme Geldenhuys wrote:
So again, what is the pros and cons between the two design choices
when using the Object Pascal language?
.dfm is good
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Sergei Gorelkin wrote:
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Graeme Geldenhuys wrote:
On 23/07/07, Michael Van Canneyt [EMAIL PROTECTED] wrote:
The .lfm file is not code. It's a resource, which you can replace
at runtime.
OK, I
On Mon, Jul 23, 2007 at 02:49:47PM +0300, Al Boldi wrote:
directly instead of a external unit. They embed the form/component
creation code inside a private method called from the constructor. The
code in that private method is also wrapped in C# Region so that it is
hidden by default with
On 23/07/07, Mattias Gärtner [EMAIL PROTECTED] wrote:
The lfm reader/writer was at hand at the time. Nowadays we could use the xml
reader/writer too, although that is less human readable.
Using pascal source as file format would be possible and has some advantages but
some disadvantages as well.
Al Boldi wrote:
Michael Van Canneyt wrote:
On Mon, 23 Jul 2007, Al Boldi wrote:
This really has nothing to do with resources. Resources should still be
saved in its own .res file.
Forms are stored in resources. A dfm is changed to resource and then
compiled in the binary ?
The .dfm is
18 matches
Mail list logo