JVCL Help:DrawDotNetControl

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

Search in JVCL Help

 
Search in all projects
 

Summary

Draws a control in a DotNet style.

run\JvDotNetUtils.pas


Pascal

 run\JvDotNetUtils.pas
 procedureDrawDotNetControl(Control: TWinControl; AColor: TColor; InControl: Boolean);


Parameters

Parameters Description
Control: TWinControl The control to draw.
AColor: TColor The background color of the control.
InControl: Boolean Specifies the location of the mouse, true if the mouse is inside the component, false otherwise.

run\JvDotNetUtils.pas


Description

Draws the border of a control differently depending on the state of InControl. If InControl is true, the border of the control is drawn with a thick blue edge. If InControl is false, the border is drawn with a thinner grey edge.
Normally, you don't need to call this procedure since it is called from DotNetMessageHandler. If you are creating your own DotNet style controls, call DotNetMessageHandler from an overridden WindowProc instead of calling this procedure.

run\JvDotNetUtils.pas


See Also

DotNetMessageHandler

run\JvDotNetUtils.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