以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]如何将表的背景图案设置成透明的?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=82073)

--  作者:wendude
--  发布时间:2016/3/11 8:40:00
--  [求助]如何将表的背景图案设置成透明的?
有一张表,想要实现背景是个图案,怎么实现?谢谢
--  作者:Hyphen
--  发布时间:2016/3/11 9:21:00
--  
Dim grid = Tables("表A").Grid
grid.BackgroundImage = getimage("C:\\Users\\c\\Pictures\\5492d805b1ffd970dc6ea27c451eff6c.jpg")
grid.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
grid.styles("emptyarea").backcolor = Color.Transparent

--  作者:大红袍
--  发布时间:2016/3/11 10:28:00
--  

也可以看看这个例子

 

http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=53853&skin=0

 


--  作者:苏州老街
--  发布时间:2017/1/23 15:53:00
--  
老师,图片调不出来背景颜色变成白的。
MainTableChanged

Dim grid = Tables("系统").Grid
grid.BackgroundImage = getimage("I:\\设备管理\\images\\0061.jpg")
grid.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
grid.styles("emptyarea").backcolor = Color.Transparent

--  作者:有点蓝
--  发布时间:2017/1/23 16:04:00
--  
测试没有问题,上例子说明
--  作者:苏州老街
--  发布时间:2017/1/23 16:06:00
--  
老师谢谢,好了。