There is RowHeaderClick(DblCLick) and ColumnHeaderClick(DBlClick) events which provide object where you can obtain status information.
VCL has a better set of functionality (OnBeforeRowExpand(Collapse) etc
Best regards,
Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
local p1,p2,p3,p4,p5,p6
store 0 to p1,p2,p3,p5,p6
p4=""
this.mapgetRowCellInfo(cell.index,@p1,@p2,@p3,@p4,@p5,@p6)
thisform.botoes.lblcobertura.caption="[ "+alltrim(str(p5,10))+" ]"
return .t.
P5 return 0 if user no expand node first time. Then i need OnBeforeRowExpand in pivotcubex for show P5 this event or P5 return correct value no expand node first.
I have no idea what you ask. I have no time to parse your code just to understand what you ask.
I have provided for you answer how to perform this. There is all functionality what exists. If you have question please write your questions in correct form.
Best regards,
Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
It is right. Until user not click to expand there are not rows inside collapsed node. They will calculated on demand, because it is impossible to know how much records will inside due to filters, dimensions hierarchy etc.
You should emulate expand/collapse if you need to know with calls to PCX.CubeIntf._ExpandRow or _ExpandColumn
Best regards,
Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment