Thanx I found the answer in the docs....

for eac case I used the following code; worked perfectly ;?)

case "Bold"

if the textStyle of the hilitedText is empty then

set the textStyle of the hilitedText to "bold"

else

set the textStyle of the hilitedText to \

(the textStyle of the hilitedText) & comma & "bold"

end if

thanx.............

----- Original Message -----  
> Message: 5
> Date: Mon, 27 Dec 2004 00:10:21 -0600
> From: Ken Ray <[EMAIL PROTECTED]>
> Subject: Re: Identifying text attributes
> To: Use Revolution List <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="US-ASCII"
> 
> On 12/26/04 9:57 PM, "D.Rothe" <[EMAIL PROTECTED]> wrote:
> 
> > How to identify text attributes?
> > Is it possible to identify the style attributes of a selected word in a 
> > field,
> > like in most word processors, when you hilite some text the font name, size 
> > &
> > style is shown in a menu? This would be on the user side not edit.
> 
> Yes, you can get the textFont, textSize, textStyle, etc. of the
> selectedChunk. Check the entry for "textStyle" in the docs to find out how
> to handle multiple text styles in the selection...
> 
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: [EMAIL PROTECTED]
> ------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to