I got my answer for this from an earlier project coded by Jacque

if # user is searching and you show the controls then

focus on fld "searchString" --jg: force mobile keyboard
    select after fld "searchString"
    highlightSelectedTab "search"
  else -- hide it
    focus on nothing

end if


Another gem that I never knew about "focus on"


 

On 8/19/17, 8:06 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via 
use-livecode" <[email protected] on behalf of 
[email protected]> wrote:

    1) how do we control when the mobile keyboard is opened. Sometimes I have 
left a field on a card with traversal on, and the mobile keyboard automatically 
open when you go to that card, even though the user hasn't actually tapped into 
the field (in this case a field for entering a search string)  what has been 
"settled on" as best practice? OR how do you do it?

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to