 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Paul Maia Guest
|
Posted: Thu Feb 10, 2005 1:44 am Post subject: Default New Form Settings |
|
|
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
|
Posted: Thu Feb 10, 2005 2:55 am Post subject: Re: Default New Form Settings |
|
|
"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
|
Posted: Thu Feb 10, 2005 4:38 am Post subject: Re: Default New Form Settings |
|
|
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 |
|
 |
|
|
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
|
|