Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 如何通过脚本扩展 显示和隐藏 IDE里面的第三方窗口?
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 如何通过脚本扩展 显示和隐藏 IDE里面的第三方窗口?
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#1
Post at 2009-4-23 11:54
Profile
|
Blog
|
P.M.
如何通过脚本扩展 显示和隐藏 IDE里面的第三方窗口?
在
这个帖子
里,Passion 提供了非常好的,切换 message view窗口的方法,我的代码如下:
CnMessageViewWrapper.MessageViewForm.Visible
:= not CnMessageViewWrapper.MessageViewForm.Visible;
我现在请问的是,能否用类似的脚本切换非DELPHI内建的窗口(主要是 ModelMaker Code Explorer)?如何获得这个窗口的对象指针? 谢谢,希望Passion 能再次帮忙,有了你们,DELPHI COMMUNITY更美好!
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-4-23 12:08
Profile
|
Blog
|
P.M.
可以用Screen.CustomForms[]来遍历IDE中的所有窗体实例,并通过类名来判断是否是需要的窗口。
不过我不知道ModelMakerCodeExplorer的窗体类名,可遍历打印出来先看看。
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 04:16
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.006764 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