LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET control hide problem

opened.png

 

 

hidden.png

 

As seen from the images I have an interface divided with some panes. I have a common pane with IMAQdx image control on it and a parameter settings pane (at left) that i call dynamically according to the function. Anyways when I put a .NET button to the left pane and i change position of it to hide, .NET control stays at its previous position. Although my left panel is inserted into a subPanel this problem exists.

 

Any idea?

 

LV2014

0 Kudos
Message 1 of 3
(3,061 Views)

.NET controls are actually separate windows (probably child windows of the VI FP window), so they're actually drawn on top of everything in the FP. I don't remember trying anything like what you're doing, but my guess is that this a bug where someone failed to account for this. The most practical solution is probably to hide the control when the pane is off screen. Another thing which might work is rdeferring and undeferring panel updates, but you would have to try.


___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(3,038 Views)

Thanks for the reply. I was thinking same way and tried both to hide subPanel and move it outside the screen. Trying to hide didn't work. I mean I turned off visibility of the subPanel which contains the VI that has .NET button inside but this didn't work. When I moved the subPanel outside the screen .NET button also moved. I cannot hide the control itself because it is called dynamically and container FP doesn't have the information about it.

 

I hope they fix this.

0 Kudos
Message 3 of 3
(3,029 Views)