[Gambas-user] HTML in Text Label

richard terry rterry at ...1946...
Wed Mar 11 21:45:04 CET 2009


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 at 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





More information about the User mailing list