Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
技术板块灌水区
» Delphi IDE 得到当前窗口
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: Delphi IDE 得到当前窗口
ouyang_hz
新警察
UID 42936
Digest Posts 0
Credits 8
Posts 3
点点分 8
Reading Access 10
Registered 2009-7-30
Status Offline
#1
Post at 2009-7-30 14:44
Profile
|
Blog
|
P.M.
Delphi IDE 得到当前窗口
如果IDE中建立了多个窗体在编辑,我们可以看到,只是在当前编辑的窗口上才会显示“位置排列”、“自动更新位置”等工具面板,想请教一下,怎么样才能在IDE中得到当前编辑的窗体?
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2009-8-3 12:56
Profile
|
Blog
|
P.M.
先从BorlandIDEServices的CurrentModule获得当前Module,再从Module获得FormEditor编辑器,再从编辑器的Root属性获得设计期窗口。
具体可参考CnPack源码中CnWizUtils.pas中的CnOtaGetCurrDesignedForm函数。
ouyang_hz
新警察
UID 42936
Digest Posts 0
Credits 8
Posts 3
点点分 8
Reading Access 10
Registered 2009-7-30
Status Offline
#3
Post at 2009-8-3 15:10
Profile
|
Blog
|
P.M.
谢谢啸哥,我试试。有问题还请指教
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 23:21
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.010611 second(s), 9 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