LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically restore scroll positions

I have a program which uses scroll bars and I would like to know if there is a way to programmatically set the scroll bar position when I need to. Are there any scroll position properties?

0 Kudos
Message 1 of 5
(2,668 Views)

You can just write a value to the scroll bar to set its position.

 

Am I misunderstanding your question?

0 Kudos
Message 2 of 5
(2,650 Views)

How do I access the scroll bar property?

0 Kudos
Message 3 of 5
(2,647 Views)

Hi Steve

 

One other option is to programmatically change the coordinates of the upper left hand corner of the visible pane - the origin.  In the example below the origin is set to (0,0) - but you can configure this however you like.

 

Does this solve your problem?

 

Origin.png


Regards,

Peter D

Message 4 of 5
(2,644 Views)

Are you referring to the scroll bars on the window, or to the scroll bar control? Those are two totally different things. Your initial message implied you're using the scroll bar controls, which are just numeric controls.

0 Kudos
Message 5 of 5
(2,640 Views)