I have a palette stack with 1 entry field(userEmailAddress) and 1 drop-down select(checkInterval).
When the stack opens i don't want anything focused.!
easy:
Code: Select all
on openStack
focus on nothing
end openStack
on resumeStack
focus on nothing
end resumeStack
There does not seem to be any message related to the field when clicking away after it has been focused.
I have tried all kinds of crazy handlers like on the card:
Code: Select all
on mouseUp
if not (word 2 of the target is "userEmailAddress") then
focus on nothing
end if
end mouseUp
I am sure there is a really simple way to handle this, as fields would be mixed with other controls in most cases for collecting user input, but for the life of me i cant see it.
Kind regards
Gary