Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

Label Class Reference

Inherits Control.

List of all members.

Detailed Description

This widget shows a line of text.

Until explicitly given, the size of this widget depends upon the length and height of the text within it.

Public Member Functions

 this (Control parent)
 Register with the parent and create the widget.

void caption (char[] text)
 Set the text caption.

void font (Font font)
 Change the font; passing null has no effect.

Font font ()
 Get the font.

void alignLeft (bit value)
 Set the text to left align within its width or center if false.

void alignRight (bit value)
 Set the text to right align within its width or center if false.

void enabled (bit value)
 Set whether this is active (true) or grayed and inactive (false).

void recalculate ()
 Perform size esimate recalculation.

Member Function Documentation

void Label.caption chartext  []  ) 

Set the text caption.

This can modify the width and height.

The documentation for this class was generated from the following file:
Generated on Thu Sep 4 13:12:52 2003 for dig by doxygen 1.3.2