ContentsIndexPreviousNext

STYLES

LEFT This alignment style causes the label's text to be left-aligned in its region. By default, the label text is not justified.

When LEFT, RIGHT, or CENTER is specified at the time the label is created, the label's text is stripped of leading and trailing spaces before the default size is computed.

RIGHT This style causes the label's text to be right-aligned in its region. This will appear no differently from LEFT if the SIZE of the label does not provide any extra space for the label's text.

CENTER, CENTERED This style causes the label's text to be centered in its region. This will appear no differently from LEFT if the SIZE of the label does not provide any extra space for the label's text.

NO-KEY-LETTER This style suppresses the interpretation of "&" as a key prefix. This is useful in cases where you are assigning user-entered data to a label and want to allow values that include the ampersand ("&") character (such as "AT&T").

TRANSPARENT This style makes a label's background invisible, so that anything underneath the label shows through. TRANSPARENT is useful if you want to display a label that blends into a background having more than one color.