piDogDataView.DataView.PaintDisclosureWidget
Scope: Public
Event PaintDisclosureWidget(g As Graphics, row As Integer, ByRef x As Integer, ByRef y As Integer, ByRef width As Integer, ByRef height As Integer) As Boolean
Handle this event to paint the disclosure widget. Change the x,y,width,height to affect hit-testing.
//Some example code to demonstrate drawing disclosure triangles as +/-
g.foreColor=&c000000
if me.rowexpanded(row) then
g.drawstring "-",x,y+10
else
g.drawstring "+",x,y+10
end if
return true