dragdata[html], clipboarddata[html] question
Ron
rbarber at yhb.att.ne.jp
Wed Jul 23 16:22:01 EDT 2003
Hi
I wanted to confirm this or be told it was expected behavior before I bug
report it.
The problem is that text dragged or copied from a fld will not maintain the
textfont property correctly when the fld has the textfont set by script.
Thus the dragdata[html] [rtf] and clipboarddata[html] [rtf] do not report
the correct data either.
To reproduce this:
set the textfont of fld 1 to "not the default font of the stack"
set the text to mytext
Now, select some text and drag it to another fld, or copy and paste it. The
resulting text is in the default font of the stack, not the textfont
reported of the original fld.
Now, select all in fld 1. Explicitly set the textfont from the menu. Then
drag or copy and paste. The textfont is correctly maintained (and reported
in dragdata and clipboarddata)
This is on OS 9 w/ RR 2.0.1
Is this expected? and does it happen on other OS's?
Thanks
Ron
ps is there a work around?
More information about the use-livecode
mailing list