JVCL Help:DrawDotNetControl
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: DrawDotNetControl procedure
[+] JvDotNetUtils.pas Functions
Search in JVCL Help
Search in all projectsSummary
Draws a control in a DotNet style.
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. |
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.
See Also
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