Jump to content

Block Controls


Recommended Posts

Posted

Hello!!!

I'm using a Event Structure in my application and i use the value change event in some of my controls. I'm trying to do is ignore same control events when i want. If i select the "Application Exit?" event there are an element for i discard that event but in "value change" event that element is not there.

There are any chance to block the controls?

Best regards

Paulo Almeida

Posted

I assume you want to selectively monitor controls? For example, sometimes you look for a value change and sometimes you ignore it?

This is possible by using dynamic event registration. Without going into too much detail, this allows you to register a control and monitor events on it. When you do not want to monitor events then you would temporarily unregister the control.

I recommend that you investigate the LabVIEW event examples. There are several examples that show you how to do this. Go into your labview example finder in your help. If you have more questions after this then come back and I can help you out. I've used this extensively.

Posted
I assume you want to selectively monitor controls? For example, sometimes you look for a value change and sometimes you ignore it?

Yes, it's monitor controls, but i found the rude way and that is ok. It is disapearing the controls, if is not visible you can change it. :P , i wanted block controls without invisible their, but it's ok

Thanks

Posted
Yes, it's monitor controls, but i found the rude way and that is ok. It  is disapearing the controls, if is not visible you can change it. :P , i wanted block controls without invisible their, but it's ok

Thanks

2508[/snapback]

You can also use the "disable" property.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.