请教:点击Sqltable列标题对应哪个事件? Post By:2018/4/26 22:20:00 [显示全部帖子]
AfterSelRangeChange代码如下:
If
e.Form IsNotNothingThen Dim
it As Winform.StripItem
= e.Form.Strips("状态栏").Items("Stat") Dim
t AsTable = e.Table it.Text = "" If t.Cols(t.ColSel).IsNumeric Then'如果当前列是数值列 it.Text = "合计:"
& t.Aggregate(AggregateEnum.Sum,t.TopRow,t.ColSel,t.BottomRow,t.ColSel) EndIf EndIf