完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,希望这对某人来说很容易回答。
我对Vee比较陌生,刚刚开始创建更复杂的程序结构。 我似乎无法让ShowPanel函数以最基本的形式工作。 我正在使用ShowPanelOnExecute选项(但这提供了不良结果)并且正在使用OK(确认)按钮将面板保持在那里直到操作员完成。 如何使用ShowPanel功能保持这样的面板? 希望有人能提供帮助。 先谢谢你,斯科特 以上来自于谷歌翻译 以下为原文 Hi, Hopefully this is an easy one for somebody to answer. I’m relatively new to Vee and have just begun to create more complicated program structures. I can’t seem to get the ShowPanel function to work in its most basic form. I was playing around with the ShowPanelOnExecute option (but this provided undesirable results) and was using an OK(Confirm) button to hold the panel there until the operator had finished. How do I hold the panel like this using the ShowPanel function? Hope someone can help. Thanks in advance, Scott |
|
相关推荐
2个回答
|
|
要使ShowPanel工作,首先必须在函数中向Panel添加项目。
您添加到Panel的第一个项目将自动为该功能创建一个Panel,或者您可以右键单击Funtion窗口顶部的栏并选择Create Panel,然后根据需要添加项目。然后当您需要时 使用ShowPanel它是一个简单的公式框中的函数调用。 例如 如果您的函数名为“MyPanel_I_wantDisplayed”,则公式看起来像ShowPanel(“MyPanel_I_wantDisplayed”)。 如果你想让它显示在屏幕的特定部分,那么ShowPanel(“MyPanel_I_wantDisplayed”,10,20)会将它放在屏幕的右上角,只是在边缘和顶部稍微一点.ShowPanelonExecute也需要该功能 在功能中创建一个Panel“创建”,然后无论何时调用该功能,都会自动显示该面板。如果您不确定该功能中是否有Panel,请右键单击该功能顶部的栏。 窗口,如果删除面板显示为灰色,创建面板为黑色,则表示您没有该功能的面板。编辑:gary.voltz于2012年7月24日上午9:07 以上来自于谷歌翻译 以下为原文 For ShowPanel to work, first you have to have added items to a Panel within a Function. The first item you add to the Panel will automatically create a Panel for that function, or you can right-click on the bar at the top of the Funtion window and select Create Panel and then add items as you need them. Then when you want to use ShowPanel it is simple a function call within a Formula Box. e.g. If you function is named "MyPanel_I_wantDisplayed", then the formula would look like ShowPanel("MyPanel_I_wantDisplayed"). If you want it displayed on a specific part of the screen then ShowPanel("MyPanel_I_wantDisplayed", 10, 20) would place it in the top right hand corner of the screen just in a little fromn the edge and top. ShowPanelonExecute also requires that function to have a Panel "created" within the function and then whenever the function is called the panel automatically is displayed. If you're not sure if you have a Panel within the funtion, right-click on the bar at the top of the Funtion window and if Delete Panel is Greyed out and Create Panel is Black, then you don't have a panel for that function. Edited by: gary.voltz on Jul 24, 2012 9:07 AM |
|
|
|
希望以下VEE示例文件夹中的示例程序可以给你一些想法:Manual UsersGuide status_panel.veeManual status.veeManual animate.veeEvaluate status.veeDotNETControls ToolStrip.veeApplications mfgtest.vee-mk
以上来自于谷歌翻译 以下为原文 Hopefully sample programs below in VEE example folder can give you some idea: ManualUsersGuidestatus_panel.vee Manualstatus.vee Manualanimate.vee Evaluatestatus.vee DotNETControlsToolStrip.vee Applicationsmfgtest.vee -mk |
|
|
|
只有小组成员才能发言,加入小组>>
1299 浏览 0 评论
2379 浏览 1 评论
2199 浏览 1 评论
2068 浏览 5 评论
2955 浏览 3 评论
1144浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
760浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
953浏览 0评论
1299浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-29 18:17 , Processed in 1.341928 second(s), Total 48, Slave 42 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号