When I enter a value into a field and click a button, the 'on closefield' procedure does not process. Is there anyway to "force" a field closed when I click a button? Or anyway around this?
The 'on closefield' does process when I tab into another field.
Thanks,
Warren
On CloseField Question
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
You can force any open field to close by adding this to your mouseUp handler in the button:
on mouseUp
select empty
-- your stuff goes here:
end mouseUp
on mouseUp
select empty
-- your stuff goes here:
end mouseUp
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn