Show / Hide Components And Objects 关注

0
Avatar
Legacy Poster

Hi, Im wondering if it is possible to hide a component ( group of objects like a text and a circle) if a cell in a excell database is empty and show a component if the cell has a specific value. Im really stuck on this one. As im not that good in VB if needed, a script example would be a big help. (im using Bartender 10.0)

 

 

1 评论

0
Avatar
Ian Cummings
版主
评论操作 固定链接

A component when dragged and dropped onto a label at that point ceases to be a component, but rather a number of individual objects.  There is no component reference you can make.  Therefore, you will need to hide/show objects/data sources on a per item basis.  You can either set the value of an object to nothing, in order to hide it, or set the object's object.PrintVisibility property to false.  See the below white paper to get you started:

 

http://www.bartenderbarcodesoftware.com/label-software/whitepapers/Dynamically-Changing-Objects-At-Print-Time-Using-VB-Script.pdf

请先登录再写评论。