Can't Focus On Fields via MouseClick

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Can't Focus On Fields via MouseClick

Post by endernafi » Sat Mar 16, 2013 7:59 pm

Hello Dear LiveCoders,

I'm starting my first desktop app with LiveCode.
And I bumped to my first obstacle after a couple o' hours.
I'm creating dynamically a group of fields behaving like a table;
but the fields can't be focused when clicked.
One can only wander between them via tab and return.
traversalOn is true and lockText is false.

Here is a stripped out stack:
hospitalMenuBuilder.zip
(2.69 KiB) Downloaded 373 times
Is this a bug or am I doing something wrong?

Any insights much appreciated, thanks...


Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Can't Focus On Fields via MouseClick

Post by sturgis » Sat Mar 16, 2013 9:10 pm

in the properties for the fields you have autohilites turned off. Put a check in that box and it should fix it.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Can't Focus On Fields via MouseClick

Post by Simon » Sat Mar 16, 2013 9:12 pm

Does selecting autoHilite not work for you?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: Can't Focus On Fields via MouseClick

Post by endernafi » Sat Mar 16, 2013 9:52 pm

Simon, Sturgis, thank you very very much;
That did it...


Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

Post Reply