LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Click on table scrollbar

Hi
 
i've a problem
 
i have an event structure with a table
 
when i click into a cell a dialog box ask me some values and it works properly.
 
When i've several values into table 2 scrollbars are visible and the click on the scrollbars arrows (and on bars) are treated as event and the dialog box appears again.
 
How can i separate this two "clicks behaviour" ?
 
thanks
http://www.sd-studio.it - web design agency
0 Kudos
Message 1 of 15
(3,745 Views)

could you post an example?
I am not sure you need an event with a message box to insert values in a Table cell.

AlessioD

0 Kudos
Message 2 of 15
(3,731 Views)

no...the problem isn't how to insert values etc...this works great

 

the problem is understanding the reason why when i click on the scrollbar to move left or right the event structure execute the code inside the "mouse up" event.

 

http://www.sd-studio.it - web design agency
0 Kudos
Message 3 of 15
(3,728 Views)

when you click you are generating Mouse Down and Mouse Up in sequence. You can see this if you click and hold down the mouse button, the Mouse Up event should not fire.

AlessioD

0 Kudos
Message 4 of 15
(3,724 Views)
hi
 
but the problem isn't the click and the event
 
i can't understand why the click on the table scrollbar produce an event.....
 
only this....
http://www.sd-studio.it - web design agency
0 Kudos
Message 5 of 15
(3,722 Views)

well, the scrollbar is part of the table. If you have added an event case that handles Mouse events on the Table Control, then whenever you click on part of the table (i.e. scrollbar), the event is fired.

AlessiOD

0 Kudos
Message 6 of 15
(3,720 Views)

and how can i handle this 2 different beahviours?

 

cells instead of scrollbars?

 

thanks

http://www.sd-studio.it - web design agency
0 Kudos
Message 7 of 15
(3,717 Views)

here we are back to my first question.

Why do you need to handle Mouse clicks when inserting data in a table cell?

Table Cells are editable at runtime just by clicking on them and directly typing the piece of data you want to insert. Is there any specific reason you want to use events to insert data?

 

0 Kudos
Message 8 of 15
(3,711 Views)
because each cell is a complex structure of data for me so each cell contains several values
http://www.sd-studio.it - web design agency
0 Kudos
Message 9 of 15
(3,708 Views)

ok,

post an example so that we can see what can be done here

0 Kudos
Message 10 of 15
(3,706 Views)