Home End User

Report Layers

edited January 2012 in End User
Can anyone advise on how to hide a layer in a report with RB14.02. I have
tried the following:-

l := Report.DesignLayers.Items['FormBackgroud'];
l.LayerOptions := [];

But it has no effect, the layer is still displayed in the report viewer.

Comments

  • edited January 2012

    Use Report.PageStyle.Visible to control whether the page style generates.

    Use LayerOptions to control which options are available to the end-user via
    the Designer. This enables the developer to hide a layer from an end-user
    using the Design workspace.

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.