JVCL Help:PaintComboEdit

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

Search in JVCL Help

 
Search in all projects
 

Summary

Paints the edit box of a combo edit control.

run\JvToolEdit.pas


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.

run\JvToolEdit.pas


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.

run\JvToolEdit.pas


See Also

PaintEdit

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