ComponentOne True DBGrid Pro 8
OwnerDraw Property

Controls whether the OwnerDrawCell event fires for a column.

Syntax

column.OwnerDraw= boolean

Remarks

Read/Write at run time and design time.

If True, the OwnerDrawCell event will be fired as needed to display the contents of each cell in the associated column.

If False (the default), the OwnerDrawCell event will not be fired.

Set this value to True when you need to perform complex per-cell display operations that can only be done using the OwnerDrawCell event. For example, if you want to display a metafile within a cell, then you need to set OwnerDraw to True for the desired column and write code for the OwnerDrawCell event.

See Also

Column Object

 

 


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

Product Support Forum  |  Documentation Feedback