LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

set maximum panel size

Here is the example.
0 Kudos
Message 11 of 15
(1,128 Views)

@tonitpp wrote:
how can I do the user doesn't see when the front panel minimze and only he see when the front panel is in its standard state?

I don't think that's possible. That's why I said you should hide and unhide it. I didn't see any problems with the window appearance when I tried it.

___________________
Try to take over the world!
0 Kudos
Message 12 of 15
(1,121 Views)
Perhaps... using DeferPnlUpdts property and setting it to true and then minimized and immediatelly returns it to its standard state and finally setting DeferPnlUpdts property to false in order to LV redraws the front panel, but.... I have done it and doesn't work... how can I say to LV to redraw the last changes in the front panel? So the user can't see minimzed the front panel and he only see when the front panel is in its standard state.

Thanks,

ToNi.
0 Kudos
Message 13 of 15
(1,119 Views)
Yes, at the beginnig , at the first time, IF you unhide it and immediatelly hide it, it works, but If you do it several times, that is, you open the child window from your parent window and immediatelly you close it (child window), and then again, you open the child window from your parent window and so on.... a lot of times, seven or more times, sometimes LV doesn't redraw the front panel well. The first six times you open it, it works OK, but the seventh time.... LV doesn't redraws it well and I don't know why.

Thanks,

ToNi.
0 Kudos
Message 14 of 15
(1,118 Views)
Hi again,

After a lot of time trying to solve the problem......Now I have the solution to the problem. Now you can open and close the subvi (child window) from the vi (parent window) as times as you want, LV always redraws the front panel welllllllllll!!!!!!!!!!!!!!!!!!!!!!!!!!!!! See the picture I attach here to you. I hope it is useful to everybody.

Thanks very much,

ToNi.
0 Kudos
Message 15 of 15
(1,112 Views)