In this section: |
Maintain is an application development tool that creates web-based data maintenance applications to be deployed across an enterprise (which can be loosely defined as a company network). Using WebFOCUS Maintain and its multiplatform 4GL language, you can easily create, test, and deploy complex business applications that span the Internet, IBM mainframes, midrange servers, and workstations.
The SetLayer command allows layers to be set as visible or invisible at run time. The command can be used in a Maintain or JavaScript event. The syntax is
Maintain
Formname.SetLayer.("layername",n);
JavaScript
setLayer.formname.("layername",n);
where:
Is the name of the layer, enclosed in double quotation marks (" ").
Possible values are:
To preset a layer before the form is run, you can use the SetLayer command with the Winform Show_inactive command:
Winform Show_inactive Form1;
Form1.SetLayer(“Layer1“,1);
Form1.SetLayer(“Layer2“,0);
Winform Show Form1;
This sets Layer1 as visible and Layer2 as invisible.
This section describes new features for the Maintain Development Environment (MDE).
WebFOCUS |