Selection Embarrassment

Robert Brenstein rjb at robelko.com
Fri Mar 20 12:32:29 EDT 2009


On 20.03.09 at 12:12 -0400 DunbarX at aol.com apparently wrote:
>Did you see the "Solution" post?
>
>Craig

Hacking message box script is not a long-term solution IMHO. Using 
hilitedLines as Jackie suggested is a better way to deal with 
script-based line selecting, hilighting actually. The thing is that 
if not the message box then something else will steal the focus and 
your line will get unselected. Even hilitedLines don't always stay 
selected, for example, when you switch cards. I use a custom property 
to keep track of the hilitedLines and re-selected them in openCard 
handler.

Robert



More information about the use-livecode mailing list