Skip to main content
Pie
ra0

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCanvas.FrameRect(TRect,TColor,Integer,TcxBorders,Boolean) Method

Draws a border around a rectangle.

#Declaration

Delphi
procedure FrameRect(const R: TRect; AColor: TColor; ALineWidth: Integer; const ABorders: TcxBorders; AExcludeFrame: Boolean); overload;

#Parameters

Name Type
R TRect
AColor TColor
ALineWidth Integer
ABorders TcxBorders
AExcludeFrame Boolean

#Remarks

This method draws a color border around a rectangle. The Color parameter specifies the border color. Optionally you can specify the border sides to draw and the border width (the ABorders and ALineWidth parameters).

See Also