在使用NicelLabel条码打印软件时,如果实现图像的显示和隐藏呢? 1、首先,设置一个变量,变量名为imager_ctl,通过它的值来决定图像是显示呢,还是隐藏呢。 2、新建一个Picture图像,Value值中Content选择为Visual Basic Script,然后编辑Script,表达式如下: if imager_ctl = "0" then Result = ""else Result = "D:\Program Files\EuroPlus\NiceLabel 5\Samples\Graphics\banana.wmf"End if 3、当imager_ctl值为0时,banana.wmf不显示,当imager_ctl为其他值时,banana.wmf正常显示。 4、通过对图像Result的控制,可以实现各种图像的有条件调用,非常方便。 <a href="http://www.chongshang.com.cn/Productmain_01.shtml">条码打印机</a> <a href="http://www.chongshang.com.cn/Productmain_03.shtml">数据采集器</a>