Re: Who else doesn't want auto-select when opening a card?

2020-04-07 Thread Trevor DeVore via use-livecode
On Mon, Apr 6, 2020 at 1:39 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This makes me crazy. I almost never want the first field selected when I
> go to a card,
> particularly on mobile. And god forbid the first field is a list field,
> where the first line is
> hilited whenever the stack resumes focus, even if the hilitedline was 0.


Agreed. Focusing on a field if you need to is simple and can be achieved
using one line of code. Plus, by coding it you don’t have to worry about
the wrong field obtaining focus if you change the layering order of
controls later on.

- -
Trevor DeVore
ScreenSteps

>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Who else doesn't want auto-select when opening a card?

2020-04-07 Thread Bob Sneidar via use-livecode
I think about 30% of my coding is one workaround or another. :-)

Bob S


> On Apr 7, 2020, at 3:53 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I have workarounds, I just don't want to have to use them. Selecting nothing 
> or setting the hilitedline, either one, you still have to set up some 
> handlers to do it. They don't work in an openCard handler, you have to reset 
> after that.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Who else doesn't want auto-select when opening a card?

2020-04-07 Thread J. Landman Gay via use-livecode
I have workarounds, I just don't want to have to use them. Selecting nothing or setting the 
hilitedline, either one, you still have to set up some handlers to do it. They don't work in an 
openCard handler, you have to reset after that.


On 4/6/20 2:38 PM, Bob Sneidar via use-livecode wrote:

I ALWAYS want that. Nevertheless, have you tried select nothing in after 
OpenCard?

Bob S


On Apr 6, 2020, at 11:39 AM, J. Landman Gay via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

This makes me crazy. I almost never want the first field selected when I go to 
a card, particularly on mobile. And god forbid the first field is a list field, 
where the first line is hilited whenever the stack resumes focus, even if the 
hilitedline was 0.

The workaround is tedious: on preOpenCard, set traversalOn to false, send a 
message to turn it back on after the card is displayed, include a handler that 
will catch the message and do the deed.

I want a property or setting that lets me turn off this default behavior. It's 
annoying and disruptive, and has been there since day one.

--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com
HyperActive Software   | 
http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Who else doesn't want auto-select when opening a card?

2020-04-06 Thread Bob Sneidar via use-livecode
I ALWAYS want that. Nevertheless, have you tried select nothing in after 
OpenCard?

Bob S


On Apr 6, 2020, at 11:39 AM, J. Landman Gay via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

This makes me crazy. I almost never want the first field selected when I go to 
a card, particularly on mobile. And god forbid the first field is a list field, 
where the first line is hilited whenever the stack resumes focus, even if the 
hilitedline was 0.

The workaround is tedious: on preOpenCard, set traversalOn to false, send a 
message to turn it back on after the card is displayed, include a handler that 
will catch the message and do the deed.

I want a property or setting that lets me turn off this default behavior. It's 
annoying and disruptive, and has been there since day one.

--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com
HyperActive Software   | 
http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Who else doesn't want auto-select when opening a card?

2020-04-06 Thread Richard Gaskin via use-livecode

J. Landman Gay wrote:

> I want a property or setting that lets me turn off this default
> behavior. It's annoying and disruptive, and has been there since
> day one.

I lost count of how many times I've seen that come up in the forums over 
the years.


What you propose seems reasonable and useful.  And because it involves 
NOT doing something, it would seem relatively easy to implement.


Anyone here up for the task of implementing it?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Who else doesn't want auto-select when opening a card?

2020-04-06 Thread Mark Talluto via use-livecode
On Apr 6, 2020, at 11:39 AM, J. Landman Gay via use-livecode 
 wrote:
> 
> This makes me crazy. I almost never want the first field selected when I go 
> to a card, particularly on mobile. And god forbid the first field is a list 
> field, where the first line is hilited whenever the stack resumes focus, even 
> if the hilitedline was 0.
> 
> The workaround is tedious: on preOpenCard, set traversalOn to false, send a 
> message to turn it back on after the card is displayed, include a handler 
> that will catch the message and do the deed.
> 
> I want a property or setting that lets me turn off this default behavior. 
> It's annoying and disruptive, and has been there since day one.

Agreed. It is much easier for us to focus on a field if wanted this on a 
preOpenCard. 


Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.com 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Who else doesn't want auto-select when opening a card?

2020-04-06 Thread J. Landman Gay via use-livecode
This makes me crazy. I almost never want the first field selected when I go to a card, 
particularly on mobile. And god forbid the first field is a list field, where the first line is 
hilited whenever the stack resumes focus, even if the hilitedline was 0.


The workaround is tedious: on preOpenCard, set traversalOn to false, send a message to turn it 
back on after the card is displayed, include a handler that will catch the message and do the deed.


I want a property or setting that lets me turn off this default behavior. It's annoying and 
disruptive, and has been there since day one.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode