Jump to content

Sub Panel Scroll Bars


Recommended Posts

Hope this is the right place to post this...

 

I'm using a sub panel that is sized correctly for the vi to run in it. But I always get vertical and horizontal scroll bars...

 

I don't want them, but can't for the life of me figure out how to get rid of them...

 

I'm sure someone knows the trick... Please help....

Link to comment

So without posting code it is hard to say where the scroll bars are coming from.  Are they in the parent VI's pane? or are they in the VI that is inserted into the sub panel?  In either case a property node call can fix it, or change the setting in the VI, for the affected pane.

 

I sometimes have a situation where the user can resize the window, and in these cases the sub panel may or may not fit in the pane, of the parent window.  So I have the VI enable or disable scrollbars, based on the window size, and the size of the sub panel, which is then sized to the VI that is inserted into it.

Link to comment

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.