CnPack Forum » CnWizards IDE Wizards » plesae add another new property to Source template


2015-9-30 17:57 fehernyul
plesae add another new property to Source template

Hi,

Please add another new property to Source Template which insert a code segment like %CurrProcName% just without class prefix.
For example I have a class: "TForm1" and it contains a procedure "Proc1", so it looks in the implementation like this "procedure TForm1.Proc1;"
I use Source Template to insert %CurrProcName% to code, and it insert this: 'TForm1.Proc1',
but I need this string: 'Proc1'.

Thanks!!!

2015-9-30 23:10 Passion
Thanks for your suggestion. I think there was a %CurrMethodName% which can be used as 'Proc1'. It means Current method name without Classname.

2015-10-1 17:19 fehernyul
Oh, yes, you right!

Thank you! :)

页: [1]


Powered by Discuz! Archiver 5.0.0  © 2001-2006 Comsenz Inc.