CnPack Forum


 
Subject: plesae add another new property to Source template
fehernyul
新警察
Rank: 1



UID 241746
Digest Posts 0
Credits 10
Posts 3
点点分 10
Reading Access 10
Registered 2015-9-30
Status Offline
Post at 2015-9-30 17:57  Profile | Blog | P.M. 
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!!!
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2015-9-30 23:10  Profile | Blog | P.M. 
Thanks for your suggestion. I think there was a %CurrMethodName% which can be used as 'Proc1'. It means Current method name without Classname.
Top
fehernyul
新警察
Rank: 1



UID 241746
Digest Posts 0
Credits 10
Posts 3
点点分 10
Reading Access 10
Registered 2015-9-30
Status Offline
Post at 2015-10-1 17:19  Profile | Blog | P.M. 
Oh, yes, you right!

Thank you!
Top
 




All times are GMT++8, the time now is 2024-11-24 08:20

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.007169 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP