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

Tutorial for writing Wizard/own compnents

edited December 2005 in Component Writing
Sorry,

but I didn't found information about writing a wizard:
i.e. for aligning labels and dbfields I would like to write one.

And also a "step for step" to write and use own components

Thanks
Karl

Comments

  • edited December 2005

    1. For an example creating a custom component see RBuilder\Demos\RCL. The
    code is heavily commented.

    2. See Tech Tip below about creating custom report wizards.

    3. You can also use the Align or Space toolbar to align components. Select
    View | Toolbars | Align or Space from the report designer main menu.

    -----------------------------------------
    Article: Custom Report Wizards
    -----------------------------------------

    TppCustomReportWizard is defined in ppWizard.pas. You can create
    descendants and register them with RB. Example can be found in the
    following RB source code files:

    1. The simplest descendant is TppBlankReportWizard defined in
    ppRptWiz.pas. TppBlankReportWizard simply creates a an empty report
    consisting of a header/detail/footer band set.

    2. TppLabelTemplateWizard - the label wizard is defined in ppLabWiz and
    ppLWzDlg. (The Wizards that show a user interface are organized as two
    classes). The wizard shows the wizard dialog.

    3. TppCrossTabWizard is defined in ppCtWiz and ppCWzDlg.

    4. TppReportWizard is defined in ppRptWiz and ppRWzDlg.

    --
    Tech Support mailto:support@digital-metaphors.com
    Digital Metaphors http://www.digital-metaphors.com




    Best regards,

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