Page 1 of 1

Finding the Hilited Field or Button

Posted: Thu Nov 24, 2022 1:31 pm
by JereMiami
Mobile keyboard is popping up when the card opens and I was wondering if there is a quick and dirty way to find out which field or button is being hilited without going through each property inspector. Any thoughts?

Re: Finding the Hilited Field or Button

Posted: Thu Nov 24, 2022 1:51 pm
by Klaus
Sounds like you want to check -> the focusedobject

Re: Finding the Hilited Field or Button

Posted: Thu Nov 24, 2022 3:06 pm
by andresdt
You can try with:

Code: Select all

on openCard
    // code
    focus on nothing
end openCard

Re: Finding the Hilited Field or Button

Posted: Thu Nov 24, 2022 3:27 pm
by Klaus
andresdt wrote:
Thu Nov 24, 2022 3:06 pm
You can try with:

Code: Select all

on openCard
    // code
    focus on nothing
end openCard
Or this way, if that is what you are after.

Re: Finding the Hilited Field or Button

Posted: Fri Dec 02, 2022 12:29 am
by JereMiami
Thank you!!!!!!!