Unit 'MUIClass.Area' Package
[Overview][Types][Classes][Procedures and functions][Index] [#MUIClass]

TMUIArea.Background

[i] Adjust the background for an object.

Declaration

Source position: MUIClass.Area.pas line 141

published property TMUIArea.Background : TSpecDesc
  read FBackground;

Description

Every MUI object has its own background setting. The background is displayed "behind" the actual object contents, e.g. behind a the text of a text object or behind the image of an image object.

This attribute takes the same values as MUIA_Image_Spec, please refer to autodocs of image class for a complete description.

An object without a specific background setting will inherit the pattern from its parent group. The default background for a window and many other background patterns are adjustable with the preferences program.

Only a few MUII_* tags make sense as background.

Important are:

MUII_ButtonBack
You have to set this when you create a button gadget. Thus, your button will be displayed in the users preferred style.
MUII_TextBack
Set this when you create a text object with a TextFrame, e.g. some kind of status line. Do *not* use MUII_TextBack for simple text without frame (e.g. gadget labels).
MUII_BACKGROUND, MUII_SHADOW, MUII_SHINE, MUII_FILL, MUII_SHADOWBACK, MUII_SHADOWFILL, MUII_SHADOWSHINE, MUII_FILLBACK, MUII_FILLSHINE, MUII_SHINEBACK, MUII_SHINEBACK2
One of MUI's predefined pattern. These are not configurable by the user and will always look the same.

Documentation generated on: 2024-11-21