以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  行加颜色如何设置  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=11250)

--  作者:小狐
--  发布时间:2011/7/14 19:04:00
--  行加颜色如何设置

Dim aa As Row
For Each aa In Tables("总账初期录入_Table1").Rows
    If aa("科目级次") <> "末级" Then

       aa.Locked = True

 

aa行背景需要变成红色


    End If
Next


--  作者:狐狸爸爸
--  发布时间:2011/7/14 19:05:00
--  

http://www.foxtable.net/help/topics/0656.htm

 


--  作者:小狐
--  发布时间:2011/7/14 19:19:00
--  

这一表是窗口的控件,

没有看到DrawCell事件啊


--  作者:狐狸爸爸
--  发布时间:2011/7/14 21:30:00
--  

SQLTable和SQLQuery类型的Table都有事件。

如果是Normal型table,直接在原表设置事件代码。

 

参考:

http://www.foxtable.net/help/topics/1905.htm

http://www.foxtable.net/help/topics/1906.htm

http://www.foxtable.net/help/topics/1907.htm