Custom Label Control

Here is my gift for this week :slight_smile:

A custom label control (canvas based)

  • supports an optional Background Color
  • Bold, Italic and Underline
  • Left/Center/Right alignment
  • Includes methods to automatically size the control to the text (caption), height, width or both

due to the keyword restrictions in creating custom controls… The “text” property is named “CAPTION”

Since this is something I “threw together” over lunch :slight_smile: , I did not spend a lot of time on comments or documentation
but it should all be rather straight forward… and works very much like a standard label

minor update : Julian discovered a cut/paste error… Thanks :slight_smile: