LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fit Control to Pane + Splitter Position

Hello,

 

Using Splitters makes the UI much more attractive especially when a part of a FP. can be hidden by button. I'm talking about the splitter position property / or window bounds. I like this feature but somehow I am in a little trouble with the following:

 

First of all I place some splitters and place a control to the pane ( for example a listbox ) and set the control to " Fit control to pane". When I set this method, I can not set the position the splitter out of the window bound. More precisely, an error occurred when I set this value too low.

 

Consequently, a small part of the pane is always visible and can not be hidden. I've attached some pictures please take a look at.

 

So, when I want to hide a panel I have to set the panel content to NOT fit control to pane, it could be OK when my FP is NOT resizable but in most cases the window is resizable, so the listbox does not grow automatically.

 

Any ideas?

 

Thanks in advance,

 

 

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 1 of 4
(2,600 Views)

Hello,

 

I am not sure I understand your question.

 

Can you post a simple VI demosntrating your issue?


Kind regards,

Ion R.

0 Kudos
Message 2 of 4
(2,560 Views)

Dear Ion Rosca,

 

Please take a look at the attached VI. See instructions on the VI FP.

 

Thanks,

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 3 of 4
(2,549 Views)

Hey Mr. D60,

 

Just by using a property node for the listbox you cand show it or hide it.

 

see attached printscreen.

 

Kind regards,

Ion R.

0 Kudos
Message 4 of 4
(2,538 Views)