I hope I can explain this clearly..
Is there a way to configure the delphi XE IDE to stop it creating new events in alphabetical order?
In Delphi 7 new event declarations were added to the end of the unit, and here are my problems with XE.
1) When I create my Menus or Actions, lets say a standard File Menu (New, Open, Save etc..) - I normally double click these and let Delphi create the event declarations for it. This worked perfect in Delphi 7 as the declarations were easily found and grouped together at the end of the unit.
Delphi XE seems to instead move the declarations in alphabetical order, making it harder to find the declarations, they are no longer grouped together and its making life harder and more time consuming because of it.
2) The same rule applies with new class declarations, suppose I have a simple class such as:
TMyClass = class
private
constructor Create;
destructor Destroy;
procedure Initialize;
public
procedure Test;
procedure Blah;
end;
I use the keyboard shortcut Ctrl+Shift+C which lets Delphi create the declarations for me, like so:
{ TMyClass }
procedure TMyClass.Blah;
begin
end;
constructor TMyClass.Create;
begin
end;
destructor TMyClass.Destroy;
begin
end;
procedure TMyClass.Initialize;
begin
end;
procedure TMyClass.Test;
begin
end;
Like my first example, the declarations have been put in alphabetical order. To some people this may seem like no problem at all, but to me this is an annoyance I would rather not have to put up with.
Delphi 7 would put them in order by the way they were defined or created from the form designer, not alphabetical.
Is there an option maybe I cannot find to change this behavior?
I hope I explained clearly :)
Thanks.