JVCL Help:JvXPAdjustBoundRect

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Adjust a TRect based on several parameters.

run\JvXPCoreUtils.pas


Pascal

 run\JvXPCoreUtils.pas
 procedureJvXPAdjustBoundRect(constBorderWidth: Byte; constShowBoundLines: Boolean; constBoundLines: TJvXPBoundLines; varRect: TRect);


Parameters

Parameters Description
const BorderWidth: Byte Width of the controls borders.
const ShowBoundLines: Boolean Determines if BoundLines is valid.
const BoundLines: TJvXPBoundLines Contains a set of edges that are showing in the control.
var Rect: TRect At entry, contains the bounding rect of the control. At exit, contains the modified values.

run\JvXPCoreUtils.pas


Description

JvXPAdjustBoundRect is used to modify the size of a TRect based on the current value of several properties. When entering the procedure, Rect should be set to the current bounding rect of the control. When returning, Rect has been modified with the new values.

run\JvXPCoreUtils.pas


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page