JVCL Help:DisabledTextRect
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: DisabledTextRect procedure
[+] JvDataProvider.pas Functions
Search in JVCL Help
Search in all projectsSummary
Paints a text in a disabled fashion.
Pascal
run\JvDataProvider.pas
procedureDisabledTextRect(ACanvas: TCanvas; varARect: TRect; Left: Integer; Top: Integer; Text: string);
Parameters
Parameters | Description |
ACanvas: TCanvas | Canvas to paint the text to. |
var ARect: TRect | Rectangle in which the text is to be painted. When the function returns this parameter will hold the rectangle in which the text is placed, including the shadow. |
Left: Integer | Left coordinate at which the text is to be painted. |
Top: Integer | Top coordinate at which the text is to be painted. |
Text: string | The text to paint. |
Description
DisabledTextRect paints the specified text in a disabled fashion, much like TLabel does. The text is painted on the specified canvas within the specified rectangle at the specified location. The text is painted using the selected font in the selected color. The disabled look is accomplished by painting the text again 1 pixel to the right and down with a clBtnHighlight color.
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