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: 能否实现自定义热键代码的功能
jieking
新警察
UID 36908
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2008-1-29
Status Offline
#1
Post at 2008-1-29 20:56
Profile
|
Blog
|
P.M.
能否实现自定义热键代码的功能
对于CNPACK一个字"赞"感谢无法用文字表达!在使用的过程我想咨询一个问题:
我是DELPHI初级开发人员,在使用DELPH开发数据库程序的时候我们常用写入如下代码
ADOQuery1.close;
ADOQuery1.Sql.clear;
ADOQuery1.sql.add('......');
ADOQuery1.open;
我能否定义一个热键输入以上代码,以后要使用我只需要按下这个热键就完成了输入过程,这样我想效率会更高一些!
不知道CNPACK中能否实现,也许是我还没有发现!
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 2008-1-30 08:45
Profile
|
Site
|
Blog
|
P.M.
有两个办法
第一个是用“源码模板专家”,在设置窗口中将自定义的内容加进去,并可指定快捷键。
第二个是用“代码输入助手”,将自定义内容定义为一个自定义符号,可以在代码输入时自动扩展。
两种方式都支持宏定义等。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
jieking
新警察
UID 36908
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2008-1-29
Status Offline
#3
Post at 2008-1-31 19:02
Profile
|
Blog
|
P.M.
非常感谢
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 2008-2-29 19:18
Profile
|
Site
|
Blog
|
P.M.
|
|
个人觉得在输入助手里设置会方便一点。
小冬
http://MyvNet.com
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 13:23
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.006974 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