Jump to content

SubPanel Scroll Position..


Recommended Posts

This has nothing to do w/ what I'm asking for.

I want to change the scroll position of a FP loaded into a SubPanel

Only 1 VI will be loaded in the SubPanel.

And I want to force it, from time to time, to scroll all the way to the bottom.

Your solution only addresses a bug with a redraw.

The loaded FP has an array on it, the array will be growing in the number of rows programmatically. So after a while the number of rows in the array will exceed the length of the FP. When this happens, I need the SubPanel to scroll all the way down.

Link to comment

Without a working subpanel in front of me to look at...

Does the sub-panel control have scrollbars that the user can typically use, or are you talking about scrolling in the sense of setting the FP origin of the embedded VI? The latter is what I thought you were referring to, but possibly not after reading your last post.

Looking at a sub-panel in action would probably clarify this for me.

Link to comment
I want to be able to control the position of the scroll bars on the SubPanel Control.

Actually I want the end user to be able to use the Scroll Bars and the program to move them if necessary

5557[/snapback]

I'm going to take a wild guess that you won't be able to do that (as things stand so far with sub-panels). Would another workaround be feasible? Perhaps reversing your array before displaying it?

Something else I do with things like that is keep the array size fixed so you can see n elements on the screen and then inrement the index when there are more than n elements in the array.... that keeps the last n elements visible for the user during processing.

Link to comment

What I am looking to do is make somthing that operates as the end user would expect.

In this case the addition needs to happen at the bottom.

The user is going to expect a scroll bar rather than a slider for the fixed number of elements workaround, because the scrollbar gives feedback to the number of elements out of view.

I've given into the fact that there is no way to easily accomplish this and have moved down another path.

Thanks for all the help! :thumbup:

Link to comment
What I am looking to do is make somthing that operates as the end user would expect.

In this case the addition needs to happen at the bottom.

The user is going to expect a scroll bar rather than a slider for the fixed number of elements workaround, because the scrollbar gives feedback to the number of elements out of view.

I've given into the fact that there is no way to easily accomplish this and have moved down another path.

Thanks for all the help! :thumbup:

5559[/snapback]

You're right... a scroll bar does provide nice visual feedback in that regard as to how many elements there are total.

Link to comment
What I am looking to do is make somthing that operates as the end user would expect.

In this case the addition needs to happen at the bottom.

The user is going to expect a scroll bar rather than a slider for the fixed number of elements workaround, because the scrollbar gives feedback to the number of elements out of view.

I've given into the fact that there is no way to easily accomplish this and have moved down another path.

Thanks for all the help! :thumbup:

5559[/snapback]

Provided its pretty simple data, how about displaying the data in a listbox/multi-column listbox instead? Sure, you'd have to convert it all to strings and then be limited to ~32k entries, but the scollbar works like it should.

Sparc

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.