The source code to the Report Wizard Dialog is located in ppRWzDlg.pas, the form class is TppReportWizardDialog. It consists of a series of pages. You can try setting the ListBox.ScrollWidth property - I believe that controls whether a horizontal scrollbar is displayed (see the Delphi help for TListBox).
One solution is to modify the source code directly.
Another option is to copy the source code or create a descendant. Then you can register your custom report wizard with RB. This approach requires that you create two classes. As an example, unit ppRptWiz.pas contains the class definition for TppReportWizard - this is the wizard class that creates the wizard dialog. The registration appears at the bottom of the unit.
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Do you mean, copy the code of TppReportWizard into a new class register that class with "ppRegisterDefaultReportWizard" and let that class create my own "TppReportWizardDialog" ?
If you want to create a custom wizard then you need two classes. A custom report wizard and a custom report wizard dialog. You register the custom report wizard. When its Execute method is called, then you create and display your customer wizard dialog. You can add RBuilder\Source to your Delphi library path and trace the code to the default report wizard to see how this works.
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
I mean to the listbox for available and selected fields.
Eric
The source code to the Report Wizard Dialog is located in ppRWzDlg.pas, the
form class is TppReportWizardDialog. It consists of a series of pages. You
can try setting the ListBox.ScrollWidth property - I believe that controls
whether a horizontal scrollbar is displayed (see the Delphi help for
TListBox).
One solution is to modify the source code directly.
Another option is to copy the source code or create a descendant. Then you
can register your custom report wizard with RB. This approach requires that
you create two classes. As an example, unit ppRptWiz.pas contains the class
definition for TppReportWizard - this is the wizard class that creates the
wizard dialog. The registration appears at the bottom of the unit.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Do you mean, copy the code of TppReportWizard into a new class register that
class with
"ppRegisterDefaultReportWizard" and let that class create my own
"TppReportWizardDialog" ?
Eric
Can the vertical scollbar build in into the next version. I think more users
will like it.
Eric
If you want to create a custom wizard then you need two classes. A custom
report wizard and a custom report wizard dialog. You register the custom
report wizard. When its Execute method is called, then you create and
display your customer wizard dialog. You can add RBuilder\Source to your
Delphi library path and trace the code to the default report wizard to see
how this works.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Followed your instructions and have it all working now. Thanks.
Eric