Re: How do I check which field has the focus on / is active?

2009-11-02 Thread Sarah Reichelt
Hope your tooth is better now. I think you need to use both solutions. Jan suggests setting the button's traversalOn to false so that it doesn't become the focusedObject when clicked. Klaus points out that you need to use the short name of the selectedField for your current script to work. If

Re: How do I check which field has the focus on / is active?

2009-11-02 Thread William de Smet
@ Jan, Klaus and Sarah: the dentist pulled my tooth (bummer) but your answer solved my little 'problem'. Must have been the tootache :-) Thanks! Greetings, William 2009/11/2 Sarah Reichelt sarah.reich...@gmail.com: Hope your tooth is better now. I think you need to use both solutions. Jan

Re: How do I check which field has the focus on / is active?

2009-11-02 Thread Richmond Mathewson
William de Smet wrote: @ Jan, Klaus and Sarah: the dentist pulled my tooth (bummer) but your answer solved my little 'problem'. Must have been the tootache :-) Thanks! Greetings, William You lucky chap; some of us have almost no teeth left to pull out!

How do I check which field has the focus on / is active?

2009-10-30 Thread William de Smet
Hi there all, How do I check which has the focus on / is the active one? When I use: 'answer the selectedField' it shows me the correct field but when I put the next code into a button it doesn't work anymore: -- on mouseUp put the name of the selectedField into tData if tData = number1 then

Re: How do I check which field has the focus on / is active?

2009-10-30 Thread Jan Schenkel
--- On Fri, 10/30/09, William de Smet williamdes...@gmail.com wrote: Hi there all, How do I check which has the focus on / is the active one? When I use: 'answer the selectedField' it shows me the correct field but when I put the next code into a button it doesn't work anymore: -- on

Re: How do I check which field has the focus on / is active?

2009-10-30 Thread Klaus Major
Hi William, Hi there all, How do I check which has the focus on / is the active one? When I use: 'answer the selectedField' it shows me the correct field but when I put the next code into a button it doesn't work anymore: -- on mouseUp put the name of the selectedField into tData if tData =

Re: How do I check which field has the focus on / is active?

2009-10-30 Thread William de Smet
Hi Jan Klaus, None of your answers works for me :-) Must be something else then that is bugging me. Could be the dentist! Got to go there within the hour because of an awful toothache. to be continued Greetings, William 2009/10/30 Klaus Major kl...@major.on-rev.com: Hi William, Hi

Re: How do I check which field has the focus on / is active?

2009-10-30 Thread Klaus Major
Hi William, Hi Jan Klaus, None of your answers works for me :-) Aha, but nevertheless you should change your script(s) to using short name of ... ;-) Must be something else then that is bugging me. Could be the dentist! Got to go there within the hour because of an awful toothache.