完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,我正在创建一个用户界面来获取一些测量值。
我的问题是我弹出第一个面板,用户可以在其中选择要采取的测量,以及第二个面板,用于引入测量参数,必须仅包含与所需测量相关的文件。 问题是:有一种方法可以根据所选择的测量值在面板中显示输入框,或者面板是“按原样”,所以我还要保持我不需要的字段? 感谢所有提前EssinaEdited:Essina于2013年6月26日上午6:38 以上来自于谷歌翻译 以下为原文 Hello Everybody, I'm creating an user interface for acquiring some measurement. My problem is that I pop up a first panel where the user can choose which measurement want to take, and them a second panel for the introduction of the measurement parameters, that have to contain only the fileds related to the wished measurements. The question is: there is a way to make appear the input box in the panel depending on the measurement choosed, or the panel is "as is", so I have to maintain also the fields that I don't need? Thanks to all in advance Essina Edited by: Essina on Jun 26, 2013 6:38 AM |
|
相关推荐
3个回答
|
|
您可以在显示面板后对其进行更新。
如果使用“执行时显示”将其作为用户对象或用户函数(UO / UF)调用,则可以直接将功能放入UO / UF。 如果您使用的是“show panel”,那么您需要一个输入引脚,您可以发送数据并由用户UO / UF处理。 为了说明'伪代码':方法1 - 'show on execute':调用UO / UF UO / UF更改其面板上的项目,弹出对话框等UO / UF完成,面板关闭方法2 - 'show panel' :call showPanel(“ 以上来自于谷歌翻译 以下为原文 You can update a panel after it has been shown. If you are calling it as a user object or user function ( UO/UF ) using the 'show on execute' then you can put the functionality into the UO/UF directly. If you are using 'show panel' then you need to have an input pin which you send data and is processed by the user UO/UF. To illustrate in 'pseudo code': method 1 - 'show on execute': call UO/UF UO/UF changes items on its panel, pops up dialog boxes etc UO/UF completes and the panel closes method 2 - 'show panel': call showPanel(" call hidePanel(" If you have a specific problem, then why post post some code here illustrating your problem and we'll try to help. Mike Watts |
|
|
|
您可以使用控件的Visible属性 - 请参阅附带的示例。
注意:这适用于具有面板的用户对象或用户功能在“控制面板”上,两个输入项已分配了“声明名称”,在这种情况下,Data1和Data2都具有本地上下文可见性 - 允许您引用它们 在ControlPanel中的一个Formula对象中在这种情况下,我将复选框值捆绑到一个数组中 - (可能显然)不需要HTH,Mike Watts 以上来自于谷歌翻译 以下为原文 You can use the Visible property of a control for that - see attached example. Notes: this works for both user objects or user functions with panels On the 'Control Panel' the two input items have been assigned a 'declared name' in this case Data1 and Data2 both with local context visibility - that allows you to refer to them in a Formula object within ControlPanel In this case I bundled the check box values into an array - ( probably obviously ) that is not required HTH, Mike Watts 附件 |
|
|
|
迈克,这简直就是......太棒了!
这正是我想要做的! 非常感谢您的帮助! 最好的问候,Essina 以上来自于谷歌翻译 以下为原文 Mike, this is simply... GREAT!!! It's exactly what I was trying to do! Many thanks for the help! Best regards, Essina |
|
|
|
只有小组成员才能发言,加入小组>>
1254 浏览 0 评论
2360 浏览 1 评论
2174 浏览 1 评论
2042 浏览 5 评论
2925 浏览 3 评论
1004浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
727浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
833浏览 0评论
1254浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-5 02:29 , Processed in 1.334935 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号