Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 对CnPack功能建议
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 对CnPack功能建议
whbniit
新警察
UID 57299
Digest Posts 0
Credits 24
Posts 8
点点分 24
Reading Access 10
Registered 2010-12-30
Status Offline
#1
Post at 2011-7-22 11:11
Profile
|
Blog
|
P.M.
对CnPack功能建议
现在不清楚Delphi或是cnPack是否已经存在该功能。其实按理说这也应当属于比较常用的功能o(∩_∩)o 如果不是,就当我废话了,呵呵。
具体功能如下:
加入我声明变量
var
FTest1: integer;
FTest2: integer;
针对这两个变量需要实现外部调用属性,即:
property Test1: integer read FTest1 write FTest1;
property Test2: integer read FTest2 write FTest2;
问题就是:
如果我申明相当多的变量,但是这些变量都需要声明成为属性,能否最快捷的全部声明出来,而不需要手动一个一个自己编写。o(∩_∩)o 。
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2011-7-22 13:40
Profile
|
Site
|
Blog
|
P.M.
回复 #1 whbniit 的帖子
CnWizards安装目录的PSDemo下有个脚本:FieldToProperty.pas
你可以试试,如果不够用可以自己再修改。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 12:32
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.013913 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats