Problem with Fields
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Wed Mar 28 11:49:53 EDT 2007
Hi Dave,
Probably you could use:
on openField
send "SelectText" to me in 0 milliseconds
end openField
--------------------------
on SelectText
select the text of the target
end SelectText
But I really don't understand the concept ;-)
From an ergonomic point of view, I mean.
Nevertheless, keep in mind that sending messages instead of calling
them directly may solve many problems...
Best regards from Paris,
Eric Chatonet.
Le 28 mars 07 à 17:24, Dave a écrit :
> 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
----------------------------------------------------------------
http://www.sosmartsoftware.com/
eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------
More information about the use-livecode
mailing list