diff --git a/designer/utslvcldcomponents.tsf b/designer/utslvcldcomponents.tsf index 2538b17..cd096a1 100644 --- a/designer/utslvcldcomponents.tsf +++ b/designer/utslvcldcomponents.tsf @@ -2593,8 +2593,28 @@ type TDgridctl = class(TDComponent) cvs.drawtext(format('%d,%d',i,j),rec,DT_VCENTER .| DT_SINGLELINE .| DT_CENTER .| DT_NOPREFIX); inherited; "); + ev := array( + "event":"onhitcellsizer", + "name":"hitsizer", + "param":array("o","e"), + "virtual":true, + "body": +" {** + @explan(说明) 命中单元格调整大小边框 %% + @param(o)(tgridctl) grid对象 %% + @param(e)(tuieventbase) 消息对象包括,等wparam=1 表示行=2 表示列,lparam为命中的行或者列序号 %% + **} + //绘制表头 + //if e.wparam=1 then echo '\\r\\nrow:',e.lparam; + //if e.wparam=2 then echo '\\r\\ncol:',e.lparam; + if e.lparam