07-24-2006 08:41 AM
07-25-2006 01:03 AM
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
07-25-2006 01:48 AM
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.
07-25-2006 02:14 AM
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
07-25-2006 02:22 AM
07-25-2006 02:25 AM
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
07-25-2006 02:31 AM
and how can i handle this 2 different beahviours?
cells instead of scrollbars?
thanks
07-25-2006 02:40 AM
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?
07-25-2006 02:56 AM
07-25-2006 02:58 AM
ok,
post an example so that we can see what can be done here