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

TMUIWindow.TopEdge

[i] Specify the top edge of a window.

Declaration

Source position: MUIClass.Window.pas line 148

published property TMUIWindow.TopEdge : Integer
  read GetTopEdge
  write SetTopEdge
  default MUIV_Window_TopEdge_Centered;

Description

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

MUIV_Window_TopEdge_Centered
window appears centered on the visible area of screen.
MUIV_Window_TopEdge_Moused
window appears centered under the mouse pointer.
MUIV_Window_TopEdge_Delta(p)
window appears p pixels below the screens title bar.

Default is MUIV_Window_TopEdge_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

LeftEdge

  

[i] Specify the left edge of a window.

ID

  

Snapshot ID for the Window


Documentation generated on: 2024-12-22