Strang cursor behaviour after a drag event...
selid at broadpark.no
Mon Oct 31 11:28:46 CST 2005
I have two fields. In the first one I have placed an empty "On dragEnd" event because I don't want the user to change the field only drag.
In the second one I have an "Acceptdrop" event together with an "On dragDrop" event because I want to check the dragdata before I place it in the field.
Something like this:
In script of Field 1:
-- nothing in here
In script of field 2:
set the acceptDrop to true
--- check the dragdata
--- place it in the field if it is allowed
Now here is the strange behaviour:
After the text is dragged and placed into the second field. The cursor behaves in a reversed order. When entering a field the cursor becomes an arrow.
When entering a button the cursor becomes an iBeam. The opposite of normal behaviour I would say. This happens only in the event of dragging from field 1 to field 2.
I have tried to create two new fields with no script in them. And dragging between these two do not make the same strange behaviour.
Have my computer got a fever? what is happening?
More information about the use-livecode