property G2antt.DrawPartKey as Variant
Specifies the key of the owner bar to be painted during BeforeDrawPart / AfterDrawPart event.

   Variant A VARIANT expression that specifies the key of the bar to be painted.  
By default, the DrawPartKey property returns empty value. The DrawPartKey property is read-only. The DrawPartKey property is valid during the BeforeDrawPart / AfterDrawPart event, while the Part parameter is exOwnerDrawBar. The DrawPartItem property indicates the handle of the item that hosts the "OwnerDraw" being painted. Use the ItemBar property to access the properties of the "OwnerDraw" bar. The CellValue property specifies the cell's value giving the handle of the item and the index/key/name of the column.

Send comments on this topic.
1999-2018 Exontrol.COM, Software. All rights reserved.