LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Click on table scrollbar

Hi Alessio,
to make it short, use the property "Key-Focus" of the table inside your your MouseDown- Event to differ between the clicks.
Greets, Dave
Greets, Dave
Message 11 of 15
(1,269 Views)
You could also do point testing to see if the click is in the scrollbars or not.  Assuming you're not using a system table, the scrollbars should be a fixed width/height (I don't recall off the top of my head..maybe 19 pixels?).  Given the table's position (top,left), size (width, height), and the size of the scrollbars, you should be able to construct the "content" rectangle of the table and only worry about clicks in that region.

Jason
Jason King
LabVIEW R&D
National Instruments
Message 12 of 15
(1,260 Views)
Great answer, Dave! In addition, the Point to Row Column Invoke Node will output False for the In Bounds output if you click on the scrollbar, and true for any other cell.

 

Message Edited by Jarrod S. on 07-25-2006 10:46 AM

Jarrod S.
National Instruments
Message 13 of 15
(1,260 Views)
but this option is in the 6.1 version too?:mansurprised:
http://www.sd-studio.it - web design agency
0 Kudos
Message 14 of 15
(1,246 Views)
Look at this:

 



Greets, Dave

Message Edited by daveTW on 07-28-2006 08:49 PM

Greets, Dave
0 Kudos
Message 15 of 15
(1,234 Views)