How to avoid focus on nothing
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 638
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
How to avoid focus on nothing
Hi all, I have one card with one input field and two buttons and my goal is not letting the user to focus "on nothing" by clicking on the card.
Just to make myself clear the UX expects the focus to be always on the input field (waiting for a barcode to be scanned) until the user clicks on one of the two buttons to go to another card.
Ideas/suggestions are veeeery muuuuch welcomed
Thanks
Just to make myself clear the UX expects the focus to be always on the input field (waiting for a barcode to be scanned) until the user clicks on one of the two buttons to go to another card.
Ideas/suggestions are veeeery muuuuch welcomed
Thanks
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: How to avoid focus on nothing
Hi Simon,
why not put a little "mouseup" handler in the card script,
which always puts the focus to your namely field?
Best
Klaus
why not put a little "mouseup" handler in the card script,
which always puts the focus to your namely field?
Code: Select all
on mouseup
focus on fld "your field here..."
ebnd mouseup
Klaus
-
- Posts: 638
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: How to avoid focus on nothing
Klauss, this is a perfect example of the secular KISS (keep it simple stupid) philosophy developed by Socrates or Platon (I don't really recall whom...)
Many thanks that will work for me!
Best
Many thanks that will work for me!
Best
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: How to avoid focus on nothing
It is KLAUS, just one S.
Re: How to avoid focus on nothing
Nobody ever calls Klausimausi by the name "Klausimus" though. Not unless they want to be butted with the head that can knock down walls.
Re: How to avoid focus on nothing
Excuses, excuses, excuses...