ResizePropertiesSet

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber ResizePropertiesSet( SalNumber nPropertyLeft,
		     SalNumber nPropertyUp,
		     SalNumber nPropertyRight,
		     SalNumber nPropertyDown )

The ResizePropertiesSet method sets the properties that control how an object is resized.

Parameters

Name Description
SalNumber  nPropertyLeft Controls how the left edge of the object is repositioned when the window size changes. Specify any of the Const.RESIZE_* constants.
SalNumber   nPropertyUp Controls how the upper edge of the object is repositioned when the window size changes. Specify any of the Const.RESIZE_* constants.
SalNumber   nPropertyRight Controls how the right edge of the object is repositioned when the window size changes. Specify any of the Const.RESIZE_* constants.
SalNumber   nPropertyDown Controls how the bottom edge of the object is repositioned when the window size changes. Specify any of the Const.RESIZE_* constants.
  RESIZE Constants
  • Const.RESIZE_FixedLeft - Keep constant distance to the left border
  • Const.RESIZE_FixedUp - Keep constant distance to the top border
  • Const.RESIZE_FixedRight - Keep a constant distance to the right border
  • Const.RESIZE_FixedDown - Keep a constant distance to the bottom border
  • Const.RESIZE_Relative - Keep a relative distance to the border
  • Const.RESIZE_FillOut - Tail to the border
  • Const.RESIZE_FillOutMargin - Tail to the border but leave a margin.

Returns

This method does not return a value.

Comments

For framework objects, applications should use Foundation1 properties to specify resize properties. However, for application-specific object, it might be necessary to call the ResizePropertiesSet method.