Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 自动更新类的声明能实现吗?
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 自动更新类的声明能实现吗?
rypan
新警察
UID 621
Digest Posts 0
Credits 17
Posts 17
点点分 17
Reading Access 10
Registered 2004-12-23
Status Offline
#1
Post at 2005-2-13 14:46
Profile
|
Blog
|
P.M.
自动更新类的声明能实现吗?
比如我在TXXXForm的代码里,添加了一个function TXXXForm.abc(),然后cnpack就会自动在TXXXForm的声明里添加一段声明function abc();
我是懒人,呵呵。
softsword
普通灌水员
UID 452
Digest Posts 0
Credits 95
Posts 95
点点分 95
Reading Access 10
Registered 2004-7-13
Location 北京
Status Offline
#2
Post at 2005-2-14 14:56
Profile
|
Blog
|
P.M.
Ctrl + Shift + C
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#3
Post at 2005-2-14 20:38
Profile
|
Site
|
Blog
|
P.M.
对,这是 IDE 自己提供的类完成功能,在类声明或实现区新增方法都可以自动声明。
另外,如果你定义:
property Value: Integer;
再按 Ctrl+Shift+C,还会自动定义出 FValue 和 SetValue 方法,看看手册吧。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
rypan
新警察
UID 621
Digest Posts 0
Credits 17
Posts 17
点点分 17
Reading Access 10
Registered 2004-12-23
Status Offline
#4
Post at 2005-2-14 22:46
Profile
|
Blog
|
P.M.
呵呵,刚刚用delphi,不好意思。
还是这个问题,怎么可以定义方法的作用域? Ctrl+Shift+C默认只能是private。
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#5
Post at 2005-2-15 11:48
Profile
|
Site
|
Blog
|
P.M.
自己移过去吧:)
如果专注于类设计,可以用 ModelMaker、Rose 这些建模工具。
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:20
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.010246 second(s), 7 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