When using class completion in D7 I noticed an error with how the IDE copes
with the following situation.
Not really all that horrible, but still an issue :-).

TMyClass = class
published
  property MyStr: String;
  property MyInt: Integer;
end;

If you then hit Ctrl + C to complete the class, you end up with something
like this...
(Basically a private for every property being added and I was converting a
record to a class and there were like 20 properties!).

TMyClass = class
private
private
published
  property MyStr: String;
  property MyInt: Integer;
  FMyStr: String
  FMyInt: Integer;
  procedure SetMyStr(Value: String);
  procedure SetMyInt(Value: Integer);
end;

// and the supporting methods...

Just thought it was different and was wondering if anyone had noticed this
also...

JED






This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the [EMAIL PROTECTED]

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to