visible=[objectname]=1/0
Makes an object of the Datawindows visible / invisible
If you switch a column visible / invisible the related text- and bitmap-object also gets visible / invisible.
Definition:
Textobject: <columnname>_t
Bitmap: <bitmapname>_p and <bitmapname>_pp and <bitmapname>_ppp
Example:
visible=itemcode=0
This switches the following objects invisible:
Column itemcode
Textfeld itemcode_t
Bitmaps itemcode_p, itemcode_pp and itemcode_ppp
this function is running on current DataWindow, which have the focus.
You can change it with
setidw=dw_2
visible=itemcode=0
You can do this for more then one object
visible=itemcode,itemname,matchcode=0
alternative:
direct access to the object
dw_1.item.itemcode.visible=0
In this case the related text- and bitmap-objects are not influenced.