datagrid mouseDown + ctrl key issue

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
tasdvl9
Posts: 94
Joined: Fri Dec 06, 2013 3:55 am

datagrid mouseDown + ctrl key issue

Post by tasdvl9 » Thu Dec 04, 2014 8:31 pm

Hello,

Seems like I am experiencing an unusual issue with my data grid.
Even though I have clicked Multi-row highlites in the property inspector this will only work if I left click the mouse
and hit the shift key. If I want to select various(non sequential) rows in my data grid left clicking the mouse and pressing the ctrl key
doesn't work. The row is hilited briefly but then the hilite disappears for the second row hilited.

Any ideas?

Thanks!

tasdvl9
Posts: 94
Joined: Fri Dec 06, 2013 3:55 am

Re: datagrid mouseDown + ctrl key issue

Post by tasdvl9 » Thu Dec 04, 2014 9:58 pm

Ah.. nevermind, people.

My dgMouseDown handler was causing issues.
There was a race condition happening where the second row hilited wasn't staying persistent.

Thanks!

Post Reply