Field with "Focus with Keyboard" checked? - Solved
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Field with "Focus with Keyboard" checked? - Solved
How do I get the cursor to leave a field with "Focus with Keyboard" checked, when I click on a button?
(see attached file)
Thanks,
David
(see attached file)
Thanks,
David
- Attachments
-
- Test_1A.livecode.zip
- (1.1 KiB) Downloaded 210 times
Last edited by DR White on Wed Dec 21, 2016 12:56 pm, edited 3 times in total.
Re: Field with "Focus with Keyboard" checked?
This works... 

Code: Select all
on mouseUp
click at 0,0
--set traversalOn of fld "DataEntry" to false
end mouseUp
Re: Field with "Focus with Keyboard" checked?
Yet another option is in the button's script
If you wish to have a check for exactly "yes" then the field's script could also trigger to loose focus:
Code: Select all
select empty
Code: Select all
on textchanged
if me is "yes" then select empty
end textchanged
shiftLock happens
Re: Field with "Focus with Keyboard" checked?
Dixie and -hh,
The click at 0,0 works good in the IDE, but not with the IOS simulator.
The select "Empty" works well in both IDE and IOS simulator.
Thanks so much to both of you,
David
The click at 0,0 works good in the IDE, but not with the IOS simulator.
The select "Empty" works well in both IDE and IOS simulator.
Thanks so much to both of you,
David
Re: Field with "Focus with Keyboard" checked? - Not Yet Solv
Well........
The "Select Empty" took care of the blinking cursor in the Data box,
but the keyboard on the IOS device still remains.
How do I force the IOS keyboard to shut down?
Thanks,
David
The "Select Empty" took care of the blinking cursor in the Data box,
but the keyboard on the IOS device still remains.
How do I force the IOS keyboard to shut down?
Thanks,
David
Re: Field with "Focus with Keyboard" checked? - Not Yet Solv
Well........
The "Select Empty" took care of the blinking cursor in the Data box,
but the keyboard on the IOS device still remains.
I looked in the dictionary under keyboard, but did not find anything that would control the IOS keyboard.
How do I force the IOS keyboard to shut down?
Thanks,
David
The "Select Empty" took care of the blinking cursor in the Data box,
but the keyboard on the IOS device still remains.
I looked in the dictionary under keyboard, but did not find anything that would control the IOS keyboard.
How do I force the IOS keyboard to shut down?
Thanks,
David
Re: Field with "Focus with Keyboard" checked? - Not Yet Solv
shiftLock happens
Re: Field with "Focus with Keyboard" checked? - Not Yet Solv
Thanks so much,
David
David