>>At 02:49 AM 11/18/00 -0200, you wrote:
>>>Hi,
>>>
>>>-Text Style
>>>
>>>I want to give my app some individual buttons for
>>>formatting text ( bold, italic, etc...)
>>>
>>>I tried for the code something like:
>>>
>>>on mouseUp
>>> set the textStyle of the selectedObject to "bold"
>>>end mouseUp
>>
>>Try this:
>>
>>on mouseUp
>> set the textStyle of the selectedChunk to "bold"
>>end mouseUp
>>
>>Put this script in a button that has traversalOn = False so you don't
>>lose the selection when you click the button.
>>
>>Hope this helps.
>>
>>
>>>but it does not work. So, please I need your help.
Strange. It works like a charm here. Does the selection remain when you
click the button? If not, then you need to turn off the traversal for the
button.
Leston Drake, President
LetterPress Software, Inc.
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.