selectedText confusion

Klaus Major klaus at major-k.de
Mon Mar 22 15:50:44 EST 2004


Hi Graham,

> I've got a list field where one line is hilited (I can see the 
> hilite), and I have the following handler in it
>
> on mouseUp
>   global lcgCurrentPerson
>   put the selectedText into lcgCurrentPerson
> end mouseUp
>
> I send a mouseUp from a handler in the stack which owns the field in 
> order to fill my variable lcgCurrentPerson, but all I get is empty. 
> Can anyone explain this?

Does:
...
   put the selectedText of me into lcgCurrentPerson
   ## of me or fld xyz...
...

help?

> (RR2.2RC on Windows XP Home Edition)
>
> TIA
>
> Graham

Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list