BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie: What is the difference between a 'Form' & a 'Frame'

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Eddy Fontaine
Guest





PostPosted: Fri Jan 21, 2005 1:35 pm    Post subject: Newbie: What is the difference between a 'Form' & a 'Frame' Reply with quote



Sounds stupid, I don't see much difference when i check properties...?

Thanks !


Back to top
Rob Kennedy
Guest





PostPosted: Fri Jan 21, 2005 3:46 pm    Post subject: Re: Newbie: What is the difference between a 'Form' & a 'Fra Reply with quote



Eddy Fontaine wrote:
Quote:
Sounds stupid, I don't see much difference when i check properties...?

The difference should be apparent once you try using them.

Forms can stand by themselves. That's why a default project has a form
and not a frame.

Frames are like templates. Design a frame, attach event handlers for its
contents, and then place instances of that frame elsewhere in your program.

Frames were introduced in Delphi 5. Before that, people used forms to
get the same "template" effect, but it was more complicated because they
had to make the form stop acting like a standalone form, such as by
hiding its title bar.

--
Rob

Back to top
Eddy
Guest





PostPosted: Sat Jan 22, 2005 2:07 pm    Post subject: Re: Newbie: What is the difference between a 'Form' & a 'Fra Reply with quote



Thanks Rob,
I don't 'feel' the difference yet, but i will make some tests to figure
out...
Cheers,
Eddy.



"Rob Kennedy" <me3 (AT) privacy (DOT) net> wrote

Quote:
Eddy Fontaine wrote:
Sounds stupid, I don't see much difference when i check properties...?

The difference should be apparent once you try using them.

Forms can stand by themselves. That's why a default project has a form
and not a frame.

Frames are like templates. Design a frame, attach event handlers for its
contents, and then place instances of that frame elsewhere in your
program.

Frames were introduced in Delphi 5. Before that, people used forms to
get the same "template" effect, but it was more complicated because they
had to make the form stop acting like a standalone form, such as by
hiding its title bar.

--
Rob



Back to top
Martin Harvey (Demon acco
Guest





PostPosted: Sat Jan 22, 2005 2:46 pm    Post subject: Re: Newbie: What is the difference between a 'Form' & a 'Fra Reply with quote

On Sat, 22 Jan 2005 14:07:43 GMT, "Eddy" <eddy.fontaine (AT) pandora (DOT) be>
wrote:

Quote:
Thanks Rob,
I don't 'feel' the difference yet, but i will make some tests to figure
out...

It's rather similar to the distinction between a page and a frame in
HTML...

MH.

Back to top
Jamie
Guest





PostPosted: Sat Jan 22, 2005 6:28 pm    Post subject: Re: Newbie: What is the difference between a 'Form' & a 'Fra Reply with quote

Eddy wrote:
Quote:
Thanks Rob,
I don't 'feel' the difference yet, but i will make some tests to figure
out...
Cheers,
Eddy.



"Rob Kennedy" <me3 (AT) privacy (DOT) net> wrote in message
news:35cme3F4igdhqU1 (AT) individual (DOT) net...

Eddy Fontaine wrote:

Sounds stupid, I don't see much difference when i check properties...?

The difference should be apparent once you try using them.

Forms can stand by themselves. That's why a default project has a form
and not a frame.

Frames are like templates. Design a frame, attach event handlers for its
contents, and then place instances of that frame elsewhere in your

program.

Frames were introduced in Delphi 5. Before that, people used forms to
get the same "template" effect, but it was more complicated because they
had to make the form stop acting like a standalone form, such as by
hiding its title bar.

--
Rob



a frame is just a form that uses your main form for example as the parent.

the parent being the display surface.
with this, you can get the same out in a frame as your would with a
non-parent form. Title bar, enclosed client area etc..
the frames make it easier at design time to work with where as, it use
to be that one would need to set the parent of a secondary form to that
of the form they wished to see it on as a child control.
etc..


Back to top
Eddy Fontaine
Guest





PostPosted: Mon Jan 24, 2005 5:17 pm    Post subject: Re: Newbie: What is the difference between a 'Form' & a 'Fra Reply with quote

Thanks to all your inputs !
Cheers,
Eddy.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.