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: 建议,能否加一个自动引用单元的功能?
rarnu
(橙子)
灌水部部长
UID 2689
Digest Posts
11
Credits 648
Posts 209
点点分 648
Reading Access 10
Registered 2006-10-2
Status Offline
#1
Post at 2007-2-2 19:57
Profile
|
Site
|
Blog
|
P.M.
建议,能否加一个自动引用单元的功能?
很多时候写程序都会忘了引用单元,比如说用IdUDPServer
老是忘了引用IdSocketHandle,能不能做个自动引用的功能?
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#2
Post at 2007-2-3 12:25
Profile
|
Blog
|
P.M.
...这个还是算了吧。电脑不是解决100%问题的工具。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#3
Post at 2007-2-3 13:29
Profile
|
Blog
|
P.M.
主要是,CnWizards也没法判断现在你写的东西要引用什么单元,即使搜索全部VCL源码,还要考虑不同单元内的重名情况。是比较的困难。
kendling
(小冬)
高级版主
MyvNet
UID 703
Digest Posts
5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
#4
Post at 2007-2-5 17:40
Profile
|
Site
|
Blog
|
P.M.
|
|
嘻嘻,有个简单而且笨的方法,把控件拉到窗体上,然后打开代码,把鼠标移到Txxx = class(TForm)里,Ctrl + Click一下TForm(可能IDE提示变量定义时也会),控件所需的单元会自动uses进来,
小冬
http://MyvNet.com
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#5
Post at 2007-2-5 17:55
Profile
|
Blog
|
P.M.
有些单元不是使用组件就自动引入的,如IdSocketHandle单元好像不是使用组件必须引入的
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-23 19:24
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.009596 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