Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Accessing the tabset in the code module

edited June 2005 in General
Hi

ReportBuilder 9.02 and Delphi 7.1

I would like to know how to access the tabset in the code module (RAP).

Kind regards
Steffen

Comments

  • edited June 2005
    Hi Steffen,

    Which tab set are you speaking of? The tab set to get to the code module?
    The tab set to change which subreport you are viewing, or the tab set in the
    code toolbox? If you want control of the tabs at the top of the designer
    you can use the TppDesigner.Notebook property.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2005
    I would like to access the tabset that controls what subreport i am
    currently viewing.

    King regards
    Steffen

  • edited June 2005
    Hi Steffen,

    These can be accessed using the TppDesigner.TabSet property. This is a
    Delphi TTabSet object.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2005
    When I try this in the TppDesigner.OnTabChanged the TppDesigner.TabSet
    returns the tabset from the design-page.

    I know they are the same, but we need to hide some of the tabs (subreports)
    from the end users, so I need the one for the code module.

    Kind regards
    Steffen

  • edited June 2005
    Hi Steffen,

    Unfortunately, the RAP IDE was not designed to give you access to that
    TabSet. We will change this for the next release. In the mean time, a
    round about way of getting access to that TTabSet would be to use the
    TppDesigner.Notebook property (which controls the tabs at the top of the
    designer, RAP, DADE, Preview etc.). If you get a hold of the RAP (code)
    tab, you can loop through each object on that tab sheet and find the TTabSet
    object. Then use it as you need.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.