Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 如果通过脚本扩展专家切换 ModelMaker Code Explorer?
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 如果通过脚本扩展专家切换 ModelMaker Code Explorer?
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#1
Post at 2010-1-6 13:15
Profile
|
Blog
|
P.M.
如果通过脚本扩展专家切换 ModelMaker Code Explorer?
大家好,
不知道大家用过ModelMaker Code Explorer没有,可以极大提高开发效率,但是隐藏和现实不方便,要通过鼠标,通过它自身的key binding可以实现按键显示,但是无法通过按键隐藏之,我需要的是按一下隐藏,再按一下又显示.
不知道如何做呢?目前我用下面的代码切换message view,很方便(感谢论坛的前辈帮忙:)
CnMessageViewWrapper.MessageViewForm.Visible
:= not CnMessageViewWrapper.MessageViewForm.Visible;
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 2010-1-6 15:04
Profile
|
Site
|
Blog
|
P.M.
一个简单的办法
可以先通过脚本用for循环列出Screen下的所有窗体,看看哪个可能是MMX的主窗体,再修改脚本根据类名和组件名来切换Visible。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#3
Post at 2010-1-6 16:24
Profile
|
Blog
|
P.M.
谢谢,如果有例子就好了:)
edwinyeah
灌水司司长
UID 40580
Digest Posts 0
Credits 343
Posts 129
点点分 343
Reading Access 10
Registered 2008-6-18
Status Offline
#4
Post at 2011-10-31 20:23
Profile
|
Blog
|
P.M.
似乎可以参考 MessageView.pas 这个例子。。。有时间试试。
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-10-5 18:34
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007441 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