selectedField in 2.7 not working

xavier.bury at xavier.bury at
Thu Feb 16 09:35:43 EST 2006

i just did a "basic" test in 2.6 and 2.7. 

In both cases the selectedfield returns "field x"

what i think is happening is that on your mouseup, you unselect the 
field's selection... Which i verify...

what you need is this kind of script in your button:

local lastselection
on mouseenter
  put the selectedfield into lastselection
end mousenter

on mouseup
  put lastselection
end mouseup

im sure this will work the way you want it...
Xavier Bury

To make communications with Clearstream easier, Clearstream has
recently changed the email address format to conform with industry
standards. The new format is 'firstname.familyname at'.

Visit us at


Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.


More information about the Use-livecode mailing list