| View previous topic :: View next topic |
| Author |
Message |
Bas Groot Guest
|
Posted: Sat Nov 25, 2006 9:57 pm Post subject: Default main form and default new form in Delphi 2006 |
|
|
Dear Group,
We are trying to move from D5 to D2006. We have a corporate environment with
20 developers, so we use custom wizards to create new projects, forms and
units meeting our corporate standards.
In D5, when a new form is selected from the menu, it is automatically our
standard custom form.
This was done in the repository file delphi32.dro:
[MyCompany.FormWizard]
Type=FormExpert
Page=MyCompany
DefaultMainForm=1
DefaultNewForm=1
Is this possible in Delphi 2006 and how can we do this?
Thanks in advance,
Bas Groot |
|
| Back to top |
|
 |
Christian Wilkerson Guest
|
Posted: Mon Nov 27, 2006 6:56 am Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
I found that delphi32.dro file for Delphi 7. But for Delphi 2006, or at
least BDS 4.0, I couldn't find anything. However, there is a registry entry
that looked promising.
Ultimately, if you guys have 20 developers, that's alot of money that I
think CodeGear would be interested in getting. And a great reason for them
to answer this question. CodeGear, are you listening? Mr. Hodges? DavidI?
-Christian
"Bas Groot" <bas.groot (AT) myserver (DOT) invalid> wrote in message
news:456867ea$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Dear Group,
We are trying to move from D5 to D2006. We have a corporate environment
with 20 developers, so we use custom wizards to create new projects, forms
and units meeting our corporate standards.
In D5, when a new form is selected from the menu, it is automatically our
standard custom form.
This was done in the repository file delphi32.dro:
[MyCompany.FormWizard]
Type=FormExpert
Page=MyCompany
DefaultMainForm=1
DefaultNewForm=1
Is this possible in Delphi 2006 and how can we do this?
Thanks in advance,
Bas Groot
|
|
|
| Back to top |
|
 |
Florent Ouchet Guest
|
Posted: Mon Nov 27, 2006 9:12 am Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
Hi,
The object repository configuration file moved to
BDS\4.0\Objrepos\BorlandStudioRepository.xml.
Regards,
--
Florent Ouchet
What I am listening http://www.pandora.com/people/outch |
|
| Back to top |
|
 |
Bas Groot Guest
|
Posted: Mon Nov 27, 2006 5:46 pm Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
| Quote: |
The object repository configuration file moved to
BDS\4.0\Objrepos\BorlandStudioRepository.xml.
|
Hi,
Thank you for your answer.
The BorlandStudioRepository.xml replaces the Delphi32.dro in BDS.
We created a category in it for our custom forms and wizards, visible in the
File - New dialog. This all works fine.
But we want to replace the default MainForm by our own custom form. And this
seems to be more complicated.
Regards,
Bas Groot |
|
| Back to top |
|
 |
Christian Wilkerson Guest
|
Posted: Thu Nov 30, 2006 7:01 am Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
Did you ever get an acceptable answer on this?
-Christian
"Bas Groot" <bas.groot (AT) myserver (DOT) invalid> wrote in message
news:456ad016 (AT) newsgroups (DOT) borland.com...
| Quote: |
The object repository configuration file moved to
BDS\4.0\Objrepos\BorlandStudioRepository.xml.
Hi,
Thank you for your answer.
The BorlandStudioRepository.xml replaces the Delphi32.dro in BDS.
We created a category in it for our custom forms and wizards, visible in
the File - New dialog. This all works fine.
But we want to replace the default MainForm by our own custom form. And
this seems to be more complicated.
Regards,
Bas Groot
|
|
|
| Back to top |
|
 |
Bas Groot Guest
|
Posted: Thu Nov 30, 2006 11:26 pm Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
No, I gave up. I suppose this option is not available in the new repository.
A colleague of mine asked the same question in ide.general, and received no
answer at all.
Regards,
Bas Groot
"Christian Wilkerson" <cpwilkerson (AT) no (DOT) spamming.charter.net> wrote in message
news:456e2d9c$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Did you ever get an acceptable answer on this?
-Christian
"Bas Groot" <bas.groot (AT) myserver (DOT) invalid> wrote in message
news:456ad016 (AT) newsgroups (DOT) borland.com...
The object repository configuration file moved to
BDS\4.0\Objrepos\BorlandStudioRepository.xml.
Hi,
Thank you for your answer.
The BorlandStudioRepository.xml replaces the Delphi32.dro in BDS.
We created a category in it for our custom forms and wizards, visible in
the File - New dialog. This all works fine.
But we want to replace the default MainForm by our own custom form. And
this seems to be more complicated.
Regards,
Bas Groot
|
|
|
| Back to top |
|
 |
TOndrej Guest
|
Posted: Fri Dec 01, 2006 1:04 am Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
Bas Groot wrote:
| Quote: | No, I gave up. I suppose this option is not available in the new repository.
A colleague of mine asked the same question in ide.general, and received no
answer at all.
|
Perhaps as a workaround you could write a project creator wizard which
would create the project with your form as the main form.
HTH
TOndrej |
|
| Back to top |
|
 |
Bas Groot Guest
|
Posted: Fri Dec 01, 2006 9:12 am Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
| Quote: | Perhaps as a workaround you could write a project creator wizard which
would create the project with your form as the main form.
A file creator would be more appropriate.
|
Thanks for your answers.
We are working on those wizards (both new project, new edit-form, new
datamodule, etc). But is was nice to start them by default, like D5 did.
An idea for a future version of Delphi? Reimplementing the
start-wizard-by-default-mainform option.
Regards,
Bas Groot |
|
| Back to top |
|
 |
Florent Ouchet Guest
|
Posted: Fri Dec 01, 2006 9:12 am Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
TOndrej a écrit :
| Quote: | Perhaps as a workaround you could write a project creator wizard which
would create the project with your form as the main form.
|
A file creator would be more appropriate.
--
Florent Ouchet
What I am listening http://www.pandora.com/people/outch |
|
| Back to top |
|
 |
TOndrej Guest
|
Posted: Fri Dec 01, 2006 3:31 pm Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
Florent Ouchet wrote:
| Quote: | A file creator would be more appropriate.
|
I'm not sure what you mean. I was talking about IOTAProjectCreator
implementation.
TOndrej |
|
| Back to top |
|
 |
Florent Ouchet Guest
|
Posted: Fri Dec 01, 2006 11:51 pm Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
TOndrej a écrit :
| Quote: | I'm not sure what you mean. I was talking about IOTAProjectCreator
implementation.
|
I was talking about IOTAFormWizard100 and IOTAModuleCreator.
--
Florent Ouchet
What I am listening http://www.pandora.com/people/outch |
|
| Back to top |
|
 |
TOndrej Guest
|
Posted: Sat Dec 02, 2006 2:04 am Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
Florent Ouchet wrote:
| Quote: | I was talking about IOTAFormWizard100 and IOTAModuleCreator.
|
My impression was that it would be a problem to make the default project
creator use the custom module creator. That's why I suggested a custom
project creator. But I haven't tried it, perhaps your suggestion would work.
TOndrej |
|
| Back to top |
|
 |
Bas Groot Guest
|
Posted: Mon Jan 08, 2007 1:01 pm Post subject: Re: Default main form and default new form in Delphi 2006 |
|
|
| Quote: | We are trying to move from D5 to D2006. We have a corporate environment
with 20 developers, so we use custom wizards to create new projects, forms
and units meeting our corporate standards.
In D5, when a new form is selected from the menu, it is automatically our
standard custom form.
This was done in the repository file delphi32.dro:
[MyCompany.FormWizard]
Type=FormExpert
Page=MyCompany
DefaultMainForm=1
DefaultNewForm=1
Is this possible in Delphi 2006 and how can we do this?
|
I created a qc report for this issue. You are welcome to vote for/rate it.
http://qc.codegear.com/wc/qcmain.aspx?d=38397
Kind regards,
Bas Groot |
|
| Back to top |
|
 |
|