Copying lines applies the #fontstyle of the first char to all chars so you'll have to copy the #fontstyle property for each character in the line
member(2).text = member(1).line[2] num = member(1).line[2].char.count repeat with i = 1 to num member(2).char[i].fontstyle = member(1).line[2].char[i].fontstyle end repeat hth -Buzz At 3:25 PM +0100 12/11/01, Rajiv Ranjan wrote: >Hi list >Can I copy the style of text to another text member through a varible. > >Eg: > >I have text cast member "A" >In that at line 2 I have text (10 to power 5) >I woant to capy that line to another text or field member wihtout >lossing the Power > > >is it possible > >Thanx >Rajiv > > > >[To remove yourself from this list, or to change to digest mode, go to >http://www.penworks.com/lingo-l.cgi To post messages to the list, >email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) >Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
