Hello,
I am trying to find a way to receive a mouseUp message in an unlocked field. I know this works when the lockText is set to true but I need the field to be unlocked as well.
Any ideas?
Thanks,
Andrew
Receiving mouseUp in an unlocked field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: Receiving mouseUp in an unlocked field
Hi Andrew,
You can use the selectionChanged message or you can respond to right-clicks/control-clicks.
Kind regards,
Mark
You can use the selectionChanged message or you can respond to right-clicks/control-clicks.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Receiving mouseUp in an unlocked field
Hi Andrew,
Try;
on openField
Simon
Try;
on openField
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Receiving mouseUp in an unlocked field
Hi Simon,
That won't work if the user clicks in the field while it is has focus already while the openField message will also fire if the field gets focus in any way other than a mouse click.
Kind regards,
Mark
That won't work if the user clicks in the field while it is has focus already while the openField message will also fire if the field gets focus in any way other than a mouse click.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode