以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- [求助]逛逛版主RTF列,应用到RecordGrid (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=99763) |
||||
-- 作者:jyh7081 -- 发布时间:2017/4/26 13:38:00 -- [求助]逛逛版主RTF列,应用到RecordGrid 逛逛版主RTF列,原帖地址:http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=63410&authorid=0&page=0&star=1 例子中的项目事件 :AfterOpenProject
Dim c1g As C1FlexGrid.C1FlexGrid = Tables("表A").Grid c1g.Cols("第三列").Editor = New zxbTableRTFCol() AddHandler c1g.OwnerDrawCell, AddressOf _flex_OwnerDrawCell 我把第一句中的:Tables("表A").Grid 改成:Forms("窗口1").Controls("RecordGrid1").Tables.Grid
全部代码如下: Dim c1g As C1FlexGrid.C1FlexGrid = Forms("窗口1").Controls("RecordGrid1").Tables.Grid c1g.Cols(1).Editor = New zxbTableRTFCol() ’记录窗口第2列 AddHandler c1g.OwnerDrawCell, AddressOf _flex_OwnerDrawCell
提示出错。请老师指教是否可行?谢谢! 附件:
|
||||
-- 作者:有点色 -- 发布时间:2017/4/26 14:26:00 --
|