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

Set activepageindex to preview but doesant run report until Design tab selected then preview again

edited July 2003 in End User
I use the following to set the preview tab as the first visible
tab upon running a report to screen. However the report doesn't
activate until I click the Design tab selected then preview tab
again.

procedure TfmInvAddReports.ppDesigner1Show(Sender: TObject);
begin
TppDesignerWindow(ppDesigner1.Form).Notebook.SelectNextPage(True
);
ppDesignerWindow(ppDesigner1.Form).pgcDesigner.ActivePageIndex
:= 1;
end;

Comments

This discussion has been closed.