>> Honestly, I would settle for the auto procedure create keystroke to >> create default parameters in the type and not forget about them and >> generate >> compile errors. > > Actually, if you define your methods in the interfacesection and hit > Ctrl+Shift+C, it will create the same definition in the implementation of > your > code. It is called 'class completion', look it up!
Yes (although mine is a different keystroke) and I would settle for it if it worked all the time. Default procedure parameters as I stated above do not auto complete at least not in Delphi 7. It defines the method in the Type without the default param then when you try and compile it gives an error. In other words: procedure TSomeType.MyMethod(s: String = 'test); begin end; generates this in the type: private procedure MyMethod(s: String); end; Most of our code uses default params, so I end up copying then pressing Ctrl-Alt-Up to take me to the Type definition and pasting. __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
