help needed working with modal stacks

J. Landman Gay jacque at hyperactivesw.com
Wed May 3 13:07:07 EDT 2006


Ken Ray wrote:
> On 5/3/06 3:20 AM, "Mark Schonewille" <m.schonewille at economy-x-talk.com>
> wrote:
> 
>> Dear Stephen,
>>
>> This example should get you going:
>>
>> on preOpenCard
>>    set the hilitedLines of fld 1 to 0
>>    set the traversalOn of fld 1 to false
>> end preOpenCard
>>
>> on openCard
>>    lock screen
>>    set the traversalOn of fld 1 to true
>>    unlock screen
>> end openCard
> 
> Actually, Mark, it's simpler than this, although you have hit the nail on
> the head with 'traversalOn':
> 
> on preOpenCard
>    set the traversalOn of fld 1 to false
> end preOpenCard
> 
> on openCard
>    set the traversalOn of fld 1 to true
> end openCard
> 
> I've been waiting for a recipe that was simple enough to not have the first
> field auto-focused, and this is it! Thanks, Mark!

Doesn't seem to work here. :( I've been looking for the same thing, but 
I guess I'll have to stick with:

  send "unSel" to me in 1

with an "unsel" handler that selects empty.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list