Font effect query: Mac and Windows differences
m.schonewille at economy-x-talk.com
Mon Sep 11 07:03:58 CDT 2006
Perhap this helps, in a field script:
set the textStyle of char 1 to -1 of me to plain
set the textStyle of the selection to bold
I am not sure whether this works for you, because you have give
little info. Is the field locked or not, is its traversalOn set to
true, do you have any other scripts affecting the selection, why do
you expect and text to be hilighted after a mouseUp, what about the
listBehavior of the field?
Consultancy and Software Engineering
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 11-sep-2006, om 13:13 heeft Luis het volgende geschreven:
>> Luis wrote:
>>> Newbie to the list and Revolution...
>>> I started out by playing around with font formatting, wanting to
>>> make a mini text editor, but I've run into an odd problem. The
>>> following Transcript works on the Mac version of the app, but on
>>> the Windows version (compiled as a target) nothing happens:
>>> on mouseUp
>>> set the textStyle of selectedText to bold
>>> end mouseUp
>>> So when I hilight the selected text on the Mac, it works, but in
>>> Windows it doesn't (it will not even let me hilight in the
>>> Windows version!).
More information about the use-livecode