ComponentOne True DBGrid Pro 8
Paint Event

 

Paint Event

The Paint event is triggered whenever the grid repaints itself (that is, whenever it receives a WM_PAINT message).

Syntax

object_Paint ( )

Arguments

None

Remarks

This occurs frequently in the Windows environment and is generally useful only for special circumstances. In this event, programmers familiar with the Windows API may use the grid's hWnd property to paint special effects such as lines, bitmaps, and icons in appropriate cells of the grid.

Note

This event is included for backward compatibility with earlier versions of True DBGrid. New applications should use the OwnerDrawCell event to draw directly into the grid's device context.

See Also

TDBGrid Control

TDBDropDown Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback