JVCL Help:PaintComboEdit
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: PaintComboEdit function
[+] JvToolEdit.pas Functions
Search in JVCL Help
Search in all projectsSummary
Paints the edit box of a combo edit control.
Pascal
run\JvToolEdit.pas
functionPaintComboEdit(Editor: TJvCustomComboEdit; constAText: string; AAlignment: TAlignment; StandardPaint: Boolean; varACanvas: TControlCanvas; varMsg: TWMPaint): Boolean;
Parameters
Parameters | Description |
Editor: TJvCustomComboEdit | The combo edit control. |
const AText: string | The text for the edit box. |
AAlignment: TAlignment | Alignment of the text in the edit box. |
StandardPaint: Boolean | Specifies whether to use the standard paint method of the control. |
var ACanvas: TControlCanvas | The canvas to use. |
var Msg: TWMPaint | The received Windows Paint message. |
Description
Call PaintComboEdit to paint the edit box of a combo edit control.
If parameter ACanvas is nil then ACanvas is set to a newly created TCanvas object. It is the responsibility of the caller of PaintComboEdit to free that object.
PaintComboEdit returns the value of parameter StandardPaint. If StandardPaint is set to true, then only some initialization is done but no painting; thus, in this case the caller should call the standard paint method of the control.
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