Reference: MSEgui/TLabel

From Free Pascal wiki
Jump to navigationJump to search

TLabel

work in progres

TLabel shows some Text on the form.

msegui TLabel.png


Reference

Hierarchy

  • TObject
  • TPersistent
  • TComponent
  • TMseComponent
  • TActComponent
  • TWidget
  • TActionWidget
  • TActionPublishedWidgetNwr
  • TPublishedWidgetNwr
  • TPublishedWidget
  • TCustomLabel
  • TLabel

Properties

inherited from TWidget

Anchors

Bounds

Color

Cursor

Enabled

Face

Font

Frame

Hint

Visible

Caption

The Caption is the text the label displays.

{$ifdef mse_unicodestring}
  msestring = unicodestring;
{$else}
  msestring = widestring;
{$endif}

property caption: msestring;

Options

With the option lao_nogray you can prevent a label to be shown grayed if itself or a parent widget is disabled.

labeloptionty = (lao_nogray,lao_nounderline);
labeloptionsty = set of labeloptionty;

property Options: labeloptionsty default [];

If you use a & char in a caption, the following char gets underlinded. To prevent this use lao_nounderline:

msegui label options.png

Methods

Events

inherited from TWidget

OnHint

OnEnter, OnFocus, OnActivate

OnPopup

known issues

issues of the class

issues of this documentation

Feel free to add your points here.