[Gambas-user] TextLabel Formatting Code
Werner Staudacher
gambas-user at lists.sourceforge.net
Sat Dec 31 10:24:19 CET 2005
A Person schrieb:
> Good Day All and Season's Greetings . . .
>
> I am having extreme difficulty formatting a textlabel.
> Nothing that I try seems to work.
>
> . . .
> TextLabel1.Caption = "<font color=red>Stopped!</font>" & Space$(5) &
> "<font color=black>The new debugged code is: </font>"
> . . .
>
> 1. The above Space$(5) has no effect.
> 2. The spaces after _is:_ have no effect.
> 3. The gb.NewLine character has no apparent effect.
> 4. Chr$(13) and Chr$(10) have no effect.
> 5. I deciphered <b> might mean something. It doesn't work.
>
> I am (1) trying to include spaces in the text and (2) trying to end a
> line and start another.
>
> Any help?
>
> Paul
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
Hi Paul
You are using html, and html converts many spaces to one. Use
instead, or better format tags with css-styles.
But not shure how a textlabel from gambas works with html-code.
Regards, Staudi
More information about the User
mailing list