10-10-2010 05:28 AM
10-10-2010 09:05 AM
Translation care of Google:
Would like to ask you, how to place a Boolean front panel control, when the mouse is moved when the zoom control icon.
Thank you! ! !
Your question is not clear. There is no zoom control icon, and no inherent zoom capability in LabVIEW. Are you referring to the Navigation Window? If so, that's just a static window. You cannot place controls on it.
10-10-2010 09:26 AM
so , thank you so much, I think of that maybe I just want to zoom this control.Tonight I test one method to work out it. I use one event to mouse move in and one to move out the last use use property node to change its' . so this question is clear....
Thank you so much.
10-10-2010 10:08 AM
@Bit880 wrote:
... so this question is clear.
No, it is not clear. What control do you want to zoom ("this control")? Is this a graph indicator? Change what "its"? What is the boolean supposed to indicate? Zoom status?
10-10-2010 09:31 PM
你好,
你看看下面这种效果是不是你需要的:注册一个鼠标进入的事件,当鼠标进入控件所在的区域就会触发该事件,然后再事件框中通过属性节点调整控件的大小就可以了,当然要注意在鼠标离开时把控件大小改回原来的值。
10-10-2010 09:43 PM
So what is your question? Does the code you show work or not work?
10-11-2010 08:30 AM
oh...I guess I am a inattention.Yesterday I test two kinds control, one is boolean , the other is numeria.boolean can use, zoom status, move in ,zoom out ,move out ,zoom in. however, I want to make it more human. So I test it in labview PDA , but it can not use. the numeria is no satisfaction.
thank you ,I think so ,you are right. But I have some new thinking.
following is new question:
what is control strict define(it show in PDA), & what will use strict define?
10-11-2010 08:55 AM - edited 10-11-2010 08:56 AM
@Bit880 wrote:
oh...I guess I am a inattention.Yesterday I test two kinds control, one is boolean , the other is numeria.boolean can use, zoom status, move in ,zoom out ,move out ,zoom in. however, I want to make it more human. So I test it in labview PDA , but it can not use. the numeria is no satisfaction.
There is no Boolean control that does that. Are you sure you're not talking about a graph's palette??
Do you have some sort of custom control?
what is control strict define(it show in PDA), & what will use strict define?
This is defined in the LabVIEW Help. A typedef is a control that allows you to define a data type and have all instances of that control automatically update whenever you change the control (though there are a few limitations). A strict typedef extends that to include visual elements, such as size and color.
10-11-2010 09:03 AM
您的方案我试过了,是可行的。
但是我又想到一个新的问题,我可不可以把这个放大的功能封装起来,用子Vi的格式,想什么时候调用就什么时候调用呢?
10-11-2010 09:12 AM
I guess I am not express clearly. I had not use custom control. I just use event struct to change the control size, it means i resize it.
thank you.