Delphi Programming
Class Completion Of Object Delphi 2007 bug
12 views
Just got D2007, and have a problem with class completion. Either I have a
misconception about procedural types, or there is a bug in the IDE that
prevents me from using class completion (ctrl shift V), and also renaming
methods in the structure view.
It occurs in any class where I have a procedural member "of object"
Example:
TMyClass = class
private
protected
public
onStatusMessage: procedure(msg: string) of object;
Because of the onStatusMessage and the "of object" specification, class
completion will not work for this class. If I enter a new procedure and hit
Ctrl Shift V, I get this error when it attempts class completion:
Expected ';' but OF found in class TMyClass
Compiles / Links / Runs just fine.
Is this a known bug?
Thanks /steve