dragdata[html], clipboarddata[html] question
Ron
rbarber at yhb.att.ne.jp
Thu Jul 24 05:08:01 EDT 2003
Hi again
>
> Did you use :
> set the textFont of field "Foobar" to "Arial"
> Or did you use :
> set the textFont of char 1 to -1 of field "Foobar" \
> to "Arial"
I set the textfont of the fld, not the chars. Because I didn't know:
> In the first case, you're merely changing things in
> the hierarchy ; in the second case, you're setting the
> textFont of a chunk, and thus doing functionally the
> same as selecting the entire text and changing the
> font via the menu.
But without the flash produced when selecting all, changing the font and
deselecting via script.
The following is exactly what I needed to know.
> The textFont of a chunk is preserved when copying or
> dragging. The textFont of the field is not. Sounds
> like the way it should behave, though admittedly it
> can be a disadvantage.
learning something new every day,
thanks
Ron
More information about the use-livecode
mailing list