Board index » delphi » Win32 and Form Generated Code.
Gray
![]() Delphi Developer |
Gray
![]() Delphi Developer |
Win32 and Form Generated Code.2004-10-05 08:37:05 PM delphi44 Hi, I like to ask, does new Delphi 9 in Win32 project mode, support code expanding / collapsing for Form generated code . This part of each unit may be quite big, and it will be good to we have possibility to collapse it. thanks! |
Jason Southwell
![]() Delphi Developer |
2004-10-06 08:57:04 PM
Re:Win32 and Form Generated Code.QuoteI like to ask, does new Delphi 9 in Win32 project mode, support code |
Gray
![]() Delphi Developer |
2004-10-06 11:01:57 PM
Re:Win32 and Form Generated Code.
I was think about part of code generated inside .pas file (inside Form
class): Button1: TButton; Label1: TLabel; Label2: TLabel; DBGrid1: TDBGrid; .... Label50: TLabel; regards "Jason Southwell" <XXXX@XXXXX.COM>writes Quote>I like to ask, does new Delphi 9 in Win32 project mode, support code |
Jason Southwell
![]() Delphi Developer |
2004-10-06 11:44:54 PM
Re:Win32 and Form Generated Code.QuoteI was think about part of code generated inside .pas file (inside Form specific fields. But you can manually add a region id around any section you want to collapse. Just add something like: TForm1 = class(TForm) {$REGION 'Designer Managed Code'} Edit1: TEdit; PopupMenu1: TPopupMenu; {$ENDREGION} private { Private declarations } public { Public declarations } end; The designer will collapse anything between the region directive. |
Gray
![]() Delphi Developer |
2004-10-07 01:15:13 AM
Re:Win32 and Form Generated Code.
It will be fine if Delphi do this automaticaly
This part of code can be very big, and it can make navigation trough code very hard. regards "Jason Southwell" <XXXX@XXXXX.COM>writes Quote
|
Jason Southwell
![]() Delphi Developer |
2004-10-07 02:34:03 AM
Re:Win32 and Form Generated Code.QuoteIt will be fine if Delphi do this automaticaly |