Problem with Fields

Dave dave at looktowindward.com
Wed Mar 28 11:24:51 EDT 2007


Hi,

I have the following Script on a number of fields:

on openField
   select the text of me
end openField

on closeField
end closeField

I want the whole of the field to be Selected when the user clicks  
into the field.

When I run this, the field gets selected (the focus border comes on),  
the field data is selected momentarily but then it gets deselected!

I have the following properties set on this field:

Visible
Don't Wrap
Opaque
Focusable
Focus Border
Tab on Return
Three Dimensional
Show Border

AutoHiLite

All the Rest are off.

I could swear this used to work fine, but I'm now using RunRev  
2.8.0.370 it seems to have stopped working. So I'm not sure if it's  
something else I've done or something that has changed in RunRev.

One other thing, the fields are part of a group which is part of  
another Group, not sure if this would cause a problem or not.

Any suggestions?

All the Best
Dave





More information about the use-livecode mailing list