Can't Focus On Fields via MouseClick

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

Moderators: Klaus, FourthWorld, heatherlaine, 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 »

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 460 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 »

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 »

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 »

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