Unit 'MUIClass.Window' Package
[Overview][Types][Classes][Index] [#MUIClass]

TMUIWindow.LeftEdge

[i] Specify the left edge of a window.

Declaration

Source position: MUIClass.Window.pas line 142

published property TMUIWindow.LeftEdge : Integer
  read GetLeftEdge
  write SetLeftEdge
  default MUIV_Window_LeftEdge_Centered;

Description

Usually, you shouldn't define a pixel value here but instead use one of the following macros:

MUIV_Window_LeftEdge_Centered
Window appears centered on the visible area of screen.
MUIV_Window_LeftEdge_Moused
Window appears centered under the mouse pointer.

Default is MUIV_Window_LeftEdge_Centered.

As long as your window has a window ID, choosing a position is not that important. MUI will always remember a windows last position and size and these values will simply override your settings. Positioning and sizing should be completely under user control, a programmer doesn't need to worry about it.

See also

TopEdge

  

[i] Specify the top edge of a window.

ID

  

Snapshot ID for the Window


Documentation generated on: 2024-04-19