please give me just a clue.....
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: please give me just a clue.....
Sooo...I am back to square one, because despite all the theory that I really do understand - I am failing seriously to know exactly what the practical outworking is. I have no idea now what to write or where to write it. I'm lost. sorry. I was actually trying everything that had been said by the way but absolutely nothing was working.
Re: please give me just a clue.....
HI Chris,
why not let the user do it?
I am sure most if not all computer users are used to end/confirm a text entry by hitting the
ENTER or RETURN key so this will be "natriual" behavior to them!
Just add a little info to let the user know, if neccessary.
Add this to the scripts of these fields that do not want to close
This way, hitting ENTER or RETURN will force a "closefield" message!
Best
Klaus
why not let the user do it?
I am sure most if not all computer users are used to end/confirm a text entry by hitting the
ENTER or RETURN key so this will be "natriual" behavior to them!
Just add a little info to let the user know, if neccessary.
Add this to the scripts of these fields that do not want to close

Code: Select all
on returninfield
focus on nothing
end returninfield
on enterinfield
returninfield
end enterinfield
Best
Klaus
Re: please give me just a clue.....
This works: But is it correct? I simply put it into the calculate button and Bobs your Uncle!
on mouseUp
if the text of me is not among the items of "360,300,240,180" then
answer "360, 300, 240 or 180"
end if
end mouseUp
on mouseUp
if the text of me is not among the items of "360,300,240,180" then
answer "360, 300, 240 or 180"
end if
end mouseUp
Re: please give me just a clue.....
Klaus wrote:HI Chris,
why not let the user do it?
I am sure most if not all computer users are used to end/confirm a text entry by hitting the
ENTER or RETURN key so this will be "natriual" behavior to them!
Just add a little info to let the user know, if neccessary.
Add this to the scripts of these fields that do not want to close
This way, hitting ENTER or RETURN will force a "closefield" message!Code: Select all
on returninfield focus on nothing end returninfield on enterinfield returninfield end enterinfield
Best
Klaus
See darn it, I was reading all over the place in the dictionary about the focus field hours ago, I knew essentially that this was the problem. But I would never in a million years have thought of this script - so this is my problem half of the time I can not find syntax. I knew to use focus, remove focus, but could not figure that out from the dictionary.
I will try this as well now.