Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.CanvasHelper > Classes > TFMXCanvasHelper > Methods

TFMXCanvasHelper.DrawFocusRect(TRectF,Single) Method

Scroll Prev Top Next More

Draws a rectangle in the style used to indicate that the object inside the rectangle has focus.

Call DrawFocusRect for the perimeter of the image of a control when the control gets or loses input focus.

alert_noteTip

This FMX version of the method adds a default Opacity parameter at the end of the parameters. This allows you to take advantage of the FMX ability to draw transparently to the canvas. Alternatively, don't set this parameter and it works exactly like the VCL TCanvas method.

Namespace: FMX.RS.CanvasHelper

Parameters

Rect

Type: TRectF

Opacity

Type: Single

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb