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 

Default New Form Settings

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Paul Maia
Guest





PostPosted: Thu Feb 10, 2005 1:44 am    Post subject: Default New Form Settings Reply with quote



Anyone know if there is a way to set/change the defaults used when new
forms are created. I find myself always changing (or forgetting to change)
the same few form settings. I have a dual display and the big killer is
position defaults to poDesigned. I would like poMainFormCenter or
poDefault (for the ones I manage the position for). Auto Scroll is another,
and the list goes on.

Since I am wishing, maybe the ability to set the defaults for the controls,
as well.

CPPB 6.0 (with all patches), Windows XP

--
Paul Maia
www.fn-Software.Com
[email]pmaia (AT) fn-Software (DOT) Com[/email]


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Feb 10, 2005 2:55 am    Post subject: Re: Default New Form Settings Reply with quote




"Paul Maia" <pmaia (AT) austin (DOT) rr.com> wrote


Quote:
Anyone know if there is a way to set/change the defaults used when
new forms are created. I find myself always changing (or forgetting to
change) the same few form settings. I have a dual display and the big
killer is position defaults to poDesigned.

Like with any other components, the default property values for new form
instances are set programmably inside of the constructor of TCustomForm
itself, not by the IDE.


Gambit



Back to top
Craig Farrell
Guest





PostPosted: Thu Feb 10, 2005 4:38 am    Post subject: Re: Default New Form Settings Reply with quote



Hi,

Quote:
Anyone know if there is a way to set/change the defaults used when new
forms are created. I find myself always changing (or forgetting to change)
the same few form settings. I have a dual display and the big killer is
position defaults to poDesigned. I would like poMainFormCenter or
poDefault (for the ones I manage the position for). Auto Scroll is another,
and the list goes on.

Set up a form the way you want and save it, then right-click
on the form and "Add to Repository" and give it a name and
page location. Then go to Tools | Repository, find and select
the form, and set the checkboxes for default new form or default
new main form, or both. You can also add components to the form
but if you want to re-use a set of components, you might use a
component template. To do that select or multi-select some components
and go to Component | Create Component Template.

--Craig


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) 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.