ComponentOne List 8.0 for ActiveX
OwnerDraw Property

 

OwnerDraw Property

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

Syntax

column.OwnerDraw= boolean

Remarks

Read/Write at run time and design time.

Property applies to Column object.

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, Columns Collection

 

 


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

Product Support Forum  |  Documentation Feedback