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

TMUIArea.FramePhantomHoriz

[i] Hide the horizontal frame part

Declaration

Source position: MUIClass.Area.pas line 155

published property TMUIArea.FramePhantomHoriz : Boolean
  read FFramePhantomHoriz
  write SetFramePhantomHoriz
  default False;

Description

Setting this to True causes the specified frame to be a horizontal phantom frame. The frame will not appear but its vertical components (frame height, inner top and inner bottom spacing) will be used to calculate positions and dimensions (horizontal components are treated as 0).

This is extremely useful for a correct labeling of objects. You would e.g. label a string gadget by using a text object with a phantom string frame. Thus, the label text will be always on the same vertical position as the string gadget text, no matter what spacing values the user configured.


Documentation generated on: 2024-12-22