Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Packages/New Component Wizard    [ Add a report in this area ]  
Report #:  36963   Status: Reported
"New VCL Component" Wizard could be improved.
Project:  Delphi Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Samuel Herzog
Report Type:  Minor failure / Design problem Date Reported:  11/24/2006 4:38:28 AM
Severity:    Commonly encountered problem Last Updated: 11/25/2006 4:19:27 AM
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
4.50 out of 5
Total Votes: None
Description
The way it is now:
1. Start Delphi (I start it with -np)
2. Choose "Component" - "New VCL Component". The Wizard shows up.
3. Select "Ancestor" Component and press <Next>. (e.g. TPanel).
4. Set "ClassName" to <TMyPanel>. Press <Next>.
5. On this Page only one Radio-Button is shown. <Create Unit> and the button <Finished> is enabled.
6. Press <Finish> and the new unit is shown in the source editor.

This is not user friendly because:
- it doesn't make sense to present a Dialog with one option and the user can't even de-select it.
- there is no option to compile&install the component/package.

This was better solved in D7.

The way it should be:
When pressing the button <Finish>, at least the package should be opened in the project manager.

Steps to Reproduce:
1. Start Delphi (I start it with -np)
2. Choose "Component" - "New VCL Component". The Wizard shows up.
3. Select "Ancestor" Component and press <Next>. (e.g. TPanel).
4. Set "ClassName" to <TMyPanel>. Press <Next>.
5. On this Page only one Radio-Button is shown. <Create Unit> and the button <Finished> is enabled.
6. Press <Finish> and the new unit is shown in the source editor.
Workarounds
None
Attachment
None
Comments

Sebastian Modersohn at 11/25/2006 4:17:07 AM -
The Wizard is context sensitive now. If your current project is a package there is another option at the final page called "Add unit to <Package name> project".

I *suspect* the ability to create a new package has been removed because of the different personalities the IDE now supports.

Server Response from: ETNACODE01