[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Provides access to the drawing surface for the control.
Source position: stdctrls.pp line 431
public property TCustomComboBox.Canvas : TCanvas |
Canvas is a read-only TCanvas property which provides access to the drawing surface used for the control. The class implementation actually uses a TControlCanvas instance in the member.
Canvas is used in methods like DrawItem, and in private methods which handle the LM_DrawListItem message for the control. Canvas is also passed as an argument to methods in the ancestor class like PaintTo. Canvas can be useful in OnDrawItem event handler when used to render list items for the control.
|
The list of items displayed in the combo-box control. |
|
|
Draws a list item, using the OnDrawItem handler (when assigned). |
|
|
Handler for special painting of an item (in owner-draw mode). |
|
|
Paints the control using the handle for the widgetset class. |
|
|
Implements a drawing surface for a visual control or bitmap image. |
|
|
Base class which provides a canvas property used in graphic controls. |
Version 3.2 | Generated 2024-02-25 | Home |