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

TMUIWindow.Height

[i] Specify the height of a window.

Declaration

Source position: MUIClass.Window.pas line 149

published property TMUIWindow.Height : Integer
  read GetHeight
  write SetHeight
  default MUIV_Window_Height_Default;

Description

Usually, you won't give a pixel value here but instead use one of the following magic macros:

MUIV_Window_Height_Default
calculated from objects default sizes.
MUIV_Window_Height_MinMax(0..100)
somewhere between the minimum height (0) and the maximum height (100) of your window.
MUIV_Window_Height_Visible(1..100)
percentage of the screens visible height.
MUIV_Window_Height_Screen(1..100)
percentage of the screens total height.
MUIV_Window_Height_Scaled
height will be adjusted so that width : height = minimum width : minimum height. Note that a windows width and height may not both be scaled.

Default is MUIV_Window_Height_Default.

As long as your window has a window ID, choosing a size 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

Width

  

[i] Specify the width of a window.

ID

  

Snapshot ID for the Window


Documentation generated on: 2024-11-21