LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
prettypwnie

Distinguish Between Scrollbar Clicks For Mouse Down

Status: New

Many controls allow you to make scrollbars visible. When a user clicks anywhere within the control, including on the scrollbar, this counts as a Mouse Down. It would be nice if the Mouse Down event would indicate whether the click was on the scrollbar or on the actual clickable area of the control, so you could do different actions based on which it was. Of course, you can usually do manually by checking boundaries of the control against the coordinates of the click, but it seems like a common thing so it would be easier if the check was built in.

Scrollbar Idea.png

2 Comments
fzhong
Member

It should also add the scroll bar feature for all mouse movements, such as mouse down, mouse enter, mouse move.

parthabe
Trusted Enthusiast

@HopeH wrote:

Of course, you can usually do manually by checking boundaries of the control against the coordinates of the click, but it seems like a common thing so it would be easier if the check was built in.


I'm afraid, the Point to Row Column method is not available for many types of controls/indicators (like Arrays with visible scrollbar(s)). So, how to get the location of the click? Smiley Indifferent

- Partha ( CLD until Oct 2024 🙂 )