[Gambas-user] HTML in Text Label

Benoît Minisini gambas at ...1...
Wed Apr 22 11:19:22 CEST 2009


> 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

I think you must write '<div align="center">'. Without the quotes it may not 
work.

Regards,

-- 
Benoît




More information about the User mailing list