Page 1 of 1

On CloseField Question

Posted: Sun Mar 22, 2009 8:31 pm
by warrenk
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

Posted: Sun Mar 22, 2009 8:50 pm
by FourthWorld
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

Posted: Sun Mar 22, 2009 8:53 pm
by warrenk
Richard,

Thanks...that did the trick!

Warren