rharmon@sandia.gov Posted February 23, 2016 Report Share Posted February 23, 2016 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.... Quote Link to comment
hooovahh Posted February 23, 2016 Report Share Posted February 23, 2016 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. Quote Link to comment
rharmon@sandia.gov Posted February 23, 2016 Author Report Share Posted February 23, 2016 Thanks for the response... I thought the problem was in the parent VI, and couldn't find any sub panel property node to deal with scroll bars. Problem was actually in the vi, changed the vi properties and fixed the problem... Thanks again... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.