text selection question

Bill Humphrey Bill at BlueWaterMaritime.com
Sun Jun 12 08:13:02 EDT 2005


Thank you. This wait for 1 tick solves the problem completely.


> Well, openField changes the focus sort of by definition.
>
> If you want a word auto-selected, you'll need to delay the selection 
> until after openField is finished. Try this:
>
>  on openField
>   if target is not empty then send doSelect to me in 1 tick
> end openField
>
> on doSelect
>   select word 1 of me
> end doSelect




More information about the use-livecode mailing list