To get you started until the official docs are available: 

The richinputtext deals with html-formatted text. You can specify the html formatting directly in the richinputtext tag, if you escape it with CDATA, like this:

<canvas bgcolor="#EAEAEA" height="400" width="400">
<include href="" />
    <simplelayout axis="y" spacing="4" />     
    <richinputtext name="myRichText" width="300" height="100">
        <![CDATA[
            foo <b>bar</b> baz lum
         ]]>
    </richinputtext>
</canvas>

Also see the text chapter of the software developer's guide:

-ben

On Nov 9, 2005, at 7:49 PM, Gregory Higgins wrote:

I see what you mean; it’s not at all intuititive. It it’s supposed to work here, it doesn’t seem to.

 

<canvas  height="600" debug="true" >

  <richinputtext width="800" x="20" y="20" multiline="true">

Hello!\par

This is some {\b bold} text.\par

  </richinputtext>

</canvas>

 

This was with

 

canvas.version

"3.2alpha.0"

Neither does:

<canvas  height="600" debug="true" >

  <richinputtext width="800" x="20" y="20" multiline="true">

{\rtf

Hello!\par

This is some {\b bold} text.\par

}

  </richinputtext>

</canvas>

 

 

 

--
Greg Higgins
ABLsaurus Rex
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gregory Higgins
Sent: Wednesday, November 09, 2005 8:21 PM
To: 'jake yang'; [email protected]
Subject: RE: [Laszlo-user] want to know more about 'richinputtext' and'image'compontent in the latest lps

 

It’s just not in alphabetical order.   

http://www.openlaszlo.org/lps-latest/docs/reference/ext-richinputtext.html

--

Greg Higgins

ABLsaurus Rex

 

________________________________________

From: jake yang

Hi,

Maybe I’m a little impatient, but I’m really interested in this two components.

And the reference at http://www.openlaszlo.org/lps-latest/docs/reference/ doesn’t show the detail,

Because it’s the latest I think.

So could somebody explain some detail for us? Thanks!

_______________________________________________
Laszlo-user mailing list

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to