Filtering, Search and Fields on Mobile

Sannyasin Brahmanathaswami brahma at hindu.org
Sun Aug 20 16:26:31 EDT 2017


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" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> 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?



More information about the Use-livecode mailing list