Sign in Join
FPDoc Onlineexperiment

TControlChildSizing.IsEqual function

Member of TControlChildSizingpublicIn unit Controls

Determines whether the specified sizing contains the same values as the current class instance.

Declaration

pascal
function IsEqual(Sizing: TControlChildSizing): Boolean

Arguments

Sizing

TControlChildSizing class instance compared in the method.

Function result

True when the specified sizing contains the same values as the current class instance.

Description

IsEqual is a Boolean function used to determine whether the TControlChildSizing instance in Sizing contains the same values as the current class instance. IsEqual compares the following properties to determine the return value:

  • EnlargeHorizontal
  • EnlargeVertical
  • ShrinkHorizontal
  • EnlargeHorizontal
  • ShrinkVertical
  • EnlargeVertical
  • ShrinkHorizontal
  • ShrinkVertical
  • ControlsPerLine
  • Layout
  • LeftRightSpacing
  • TopBottomSpacing
  • HorizontalSpacing
  • VerticalSpacing

The return value is True when the properties contain equivalent values in both class instances.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.