Strange cursor behavior on several fields
sarah.reichelt at gmail.com
Sun Feb 1 17:09:48 EST 2009
On Sun, Feb 1, 2009 at 11:51 PM, William de Smet
<williamdesmet at gmail.com> wrote:
> Hi there all,
> I got some 'strange behavior' of the cursor after 'on mouseup':
> the cursor keeps jumping from field to field but not all fields.
> I tried to cope with it by setting the focus on one field but no result
> I don't see why this happens. Anyone knows?
Is it just me (or Gmail) or does everyone get William's scripts with
keywords surrounded by "*"?
It makes it difficult to copy & paste them for testing...
Anyway, I am actually surprised that the script compiles & runs, since
I had no idea you could use multiple then's the way you do. It doesn't
indent correctly int the script editor, but it does compile & run and
once I had un-commented the "focus" line, it seemed to work exactly as
Could it be that you have additional handlers (closeField, openField,
exitField) that might be altering the focus?
One suggestion would be to lock messages and lock screen at the start
of the handler or loop.
And if "focus" isn't working for you, try: select the text of fld "b1"
More information about the Use-livecode