## How to format Text in a TextLabel

    ' Gambas class file

    PUBLIC SUB _new()
    Label1.Text= "<b>Label</b><b>"&
      "<i>You can`t design the text</i><b>"&
      "<u>that`s the way it IS</u><b>"&
      "<font color=red>isn`t it?</font>"
      'if you want to break a string, because your codeeditor is to small
      'just do it like that:
      'Bla.Text = "xxx" &
      '"yyy"

    TextLabel1.Text= "<b>TextLabel</b><b>"&
      "<i>You can design the text</i><b>"&
      "<u>that`s cool</u><b>"&
      "<font color=red>isn`t it?</font>"
      '<p align="Right"> won't work, because the quotes " terminate a string,
      'just leave the quotes
    END

-- JochenGeorges - 28 Dec 2004