[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'MUIClass.Area' (#MUIClass)

TMUIArea.Frame

[i] Define a frame for the item.

Declaration

Source position: MUIClass.Area.pas line 151

published property TMUIArea.Frame : PtrInt
  read FFrame
  write SetFrame
  default 0;

Description

Since area class is a superclass for all elements in a window, you can assign frames to every object you wish.

You don't adjust the style of your frame directly, instead you only specify a type:

MUIV_Frame_Button
for standard buttons with text in it.
MUIV_Frame_ImageButton
for small buttons with images, e.g. the arrows of a scrollbar.
MUIV_Frame_Text
for a text field, e.g. a status line display.
MUIV_Frame_String
for a string gadget.
MUIV_Frame_ReadList
for a read only list.
MUIV_Frame_InputList
for a list that handles input (has a cursor).
MUIV_Frame_Prop
for proportional gadgets.
MUIV_Frame_Group
for groups.

How the frame is going to look is adjustable via the preferences program.

Four spacing values belong to each frame that tell MUI how many pixels should be left free between the frame and its contents. These spacing values are also user adjustable as long as you don't override them with one of InnerLeft, InnerRight, InnerTop or InnerBottom.

See also

InnerLeft

  

[i] Adjust the space between an object and its frame.

InnerRight

  

[i] Adjust the space between an object and its frame.

InnerTop

  

[i] Adjust the space between an object and its frame.

InnerBottom

  

[i] Adjust the space between an object and its frame.


Documentation generated on: 2019-11-14