strange "grab-me" behavior in 2.4.1
Wilhelm Sanke
sanke at hrz.uni-kassel.de
Fri Dec 21 14:02:01 EST 2001
> A stack of a foreign-language-learning suite that uses scrambled sentences works fine in Metacard 2.3.2.
>
> The chosen text has to be reassembled sentence by sentence. The words of each sentence are scrambled, put into
> fields that adapt to the word length.
> (snip)
> Now, with Metacard 2.4 and 2.4.1, some of these fields can no longer be dragged. Very strange!
>
>
Meanwhile I found out a possible cause for the non-drag behavior of the
fields. For some reason the "traversal on" property of the non-draggable
fields was set to true (all scripts have a mousedown handler containing
"grab me"). After setting "traversal on" to false all fields could be
moved as expected. So I was glad not to be forced to recreate the whole
stack under 2.4.
The non-dragging effect can be reproduced under 2.4 or 2.4.1:
- create a field
- put a mousedown handler with "grab me" into the script
- put some text into the field
- adapt the width of the field by "set the width of fld x to the
formattedwidth of fld x"
(without this step the non-dragging effect will not appear)
- in the properties dialog of the field, tab "behavior", check
"Traversal On" and "Lock Text", make sure to uncheck "Auto Hilite" and
"List Behavior"
Now this field *cannot* be dragged around with the mouse despite of its
"grab me" script
Under Metacard 2.3.2 and earlier it *can* be dragged without a problem.
Uncheck "Traversal On" and the field can now be dragged.
Regards,
Wilhelm Sanke
More information about the metacard
mailing list