On Wed, 11 Mar 2009 02:57:39 am Jason Hackney wrote:
> I'm trying to insert some basic HTML  into a text label and from the docs,
> "<div align=center>" should work, but it displays the text <div
> align=center>. Meanwhile <b></b>, <i></i>, etc. seems to work well. Also,
> TextLabel1.alignment = 3 has the result I want. Am I missing something?
>
> Jason
> ---------------------------------------------------------------------------
>--- _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

Jason I had a play with this last night. I ran open office. Created a html 
file. Wrote a few paragraphs including using the open office buttons to 
centre/bold/dot point. Put a couple of paragraphs in between, Cut and pasted 
the html into gambas and despite it being all open office html it all came 
out correctly on the text label.


Hope that helps.

Richard


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to