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: 实现这个功能如何?
shinwell
新警察
UID 190
Digest Posts 0
Credits 10
Posts 10
点点分 10
Reading Access 10
Registered 2003-10-20
Status Offline
#1
Post at 2003-10-20 23:15
Profile
|
Blog
|
P.M.
实现这个功能如何?
Delphi7比Delphi6有一个进步:
在Object Inspector中改动过的控件属性是以粗字体显示的,看起来很方便.
请问如果用Open Tool API实现这个功能是不是很麻烦呢?
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 2003-10-21 09:38
Profile
|
Site
|
Blog
|
P.M.
这个功能以前我也想过,不过用常规的方法估计不太容易实现,或者可以用一些特别的方法来做,让我们来研究一下:)
请关注这个任务单:
http://www.cnvcl.org:8008/cnpack/tktview?tn=26
,1
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
shinwell
新警察
UID 190
Digest Posts 0
Credits 10
Posts 10
点点分 10
Reading Access 10
Registered 2003-10-20
Status Offline
#3
Post at 2003-10-21 17:42
Profile
|
Blog
|
P.M.
我无法查看上述的任务单.
需要注册吗?
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#4
Post at 2003-10-22 09:46
Profile
|
Site
|
Blog
|
P.M.
报歉,应该是这个地址:
http://www.cnvcl.org:8008/cnpack/tktview?tn=26
,1
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
shinwell
新警察
UID 190
Digest Posts 0
Credits 10
Posts 10
点点分 10
Reading Access 10
Registered 2003-10-20
Status Offline
#5
Post at 2003-10-23 21:47
Profile
|
Blog
|
P.M.
哈哈,我现在有个思路了.
我想没有改变的属性肯定不会存储在.dfm文件中,只有改变了的属性才会存储在.dfm文件中吧.这下好办了,只要当Object Inspector从.dfm读取属性值时,则立即把这个属性以粗体显示(事件类型属性除外).
如何?
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#6
Post at 2003-10-24 17:45
Profile
|
Site
|
Blog
|
P.M.
呵呵,如果检查一个属性是否是默认值,倒并不麻烦,比如可以通过 RTTI 直接找到属性的 default 值进行比较,关键是怎样显示出来要费一些周折,属性编辑器的方法估计是不行的,看来要对 OI 仔细研究才行。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
shinwell
新警察
UID 190
Digest Posts 0
Credits 10
Posts 10
点点分 10
Reading Access 10
Registered 2003-10-20
Status Offline
#7
Post at 2003-10-24 23:45
Profile
|
Blog
|
P.M.
不会吧.显示为粗体应该很简单吧.我看见现有的专家包已经实现了.
装上专家包以后你改一下Font属性看看,那Object Inspector显示的字体是不是已经变了?
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#8
Post at 2003-10-27 20:02
Profile
|
Site
|
Blog
|
P.M.
呵呵,您说得没错,可能前面我没有说清楚,问题不只是写属性编辑器那么简单。
我已经用了一种特别的方法实现了核心功能了,详见任务单:
http://www.cnvcl.org:8008/cnpack/tktview?tn=34
,1
如果开发顺利,该功能会在下一版本中发布,多谢您的建议!
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
shenloqi
灌水处处长
UID 34
Digest Posts
1
Credits 287
Posts 179
点点分 287
Reading Access 10
Registered 2003-3-15
Status Offline
#9
Post at 2003-10-28 02:33
Profile
|
P.M.
D5已经基本完成的
目前对于D6还没有仔细研究,但是D5已经基本完成的。
D6,D7的方法跟D5不同,所以有些麻烦。
另外D5似乎还需要三个新的属性编辑器(Color,Brush,Pen)来替换D5自己的编辑器,因为D5的编辑器对于加粗有问题。
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-25 02:07
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007449 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