How to: |
Note: The SetLayer command in legacy Maintain has been replaced by the IbComposer_showLayer command in Maintain Data. The IbComposer_showLayer command allows layers to be set as visible or invisible at run time. It is used in a JavaScript event.
IbComposer_showLayer(layername,bShow);
where:
Alphanumeric
Is the name of the layer, which will be shown or hidden.
Is an operator that can be set to true to show the layer or false to hide it.
function button1_onclick(event) { var eventObject = event ? event : window.event; var ctrl = eventObject.target ? eventObject.target : eventObject.srcElement; // TODO: Add your event handler code here IbComposer_showLayer('Customers','true'); }