Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
RAP
New Blog Posts: Merging Reports -
Part 1
and
Part 2
ReportBuilder 22.05 now available!
Calc Tab and preview Tab
rbuser
June 2008
edited June 2008
in
RAP
Good afternoon,
I use Delphi7 and RB 9.03
I would to show the calc tab, but not the preview tab.
Is it possible to do this?
Please, help me.
Nicoletta
Comments
nardmoseley
June 2008
edited June 2008
Here is a simple example to hide the preview tab...
procedure TForm1.Button1Click(Sender: TObject);
var
liPreviewTab: Integer;
begin
liPreviewTab := ppDesigner1.Notebook.PageCount-1;
ppDesigner1.Notebook.SetTabVisible(liPreviewTab, False);
ppDesigner1.ShowModal;
end;
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
rbuser
June 2008
edited June 2008
thank you..
I used your suggestion...
but when the windows is openend, also if I checked durung debug, that the
value is false, I continue to see the tabpage visible however.
nardmoseley
June 2008
edited June 2008
Works in my testing here with RB 10.08.
If you are using a prior release, download a trial version and give it a
try.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
rbuser
June 2008
edited June 2008
no problem...
I solved the problem.
In my RB release the method SetTabVisible isn't available (is not public)..
I used a command that I image is the same of that method :
ppDesigner1.Notebook.Pages[liPreviewTab].TabVisible := False;
Thank you very much.
Nicoletta
This discussion has been closed.
Comments
Here is a simple example to hide the preview tab...
procedure TForm1.Button1Click(Sender: TObject);
var
liPreviewTab: Integer;
begin
liPreviewTab := ppDesigner1.Notebook.PageCount-1;
ppDesigner1.Notebook.SetTabVisible(liPreviewTab, False);
ppDesigner1.ShowModal;
end;
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I used your suggestion...
but when the windows is openend, also if I checked durung debug, that the
value is false, I continue to see the tabpage visible however.
Works in my testing here with RB 10.08.
If you are using a prior release, download a trial version and give it a
try.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I solved the problem.
In my RB release the method SetTabVisible isn't available (is not public)..
I used a command that I image is the same of that method :
ppDesigner1.Notebook.Pages[liPreviewTab].TabVisible := False;
Thank you very much.
Nicoletta