AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

RaveReport V7.7.0 (deutsche Dialoge)

Ein Thema von Schorschi5566 · begonnen am 8. Jun 2010 · letzter Beitrag vom 8. Jun 2010
Antwort Antwort
Schorschi5566

Registriert seit: 6. Feb 2006
197 Beiträge
 
Delphi 10.2 Tokyo Enterprise
 
#1

RaveReport V7.7.0 (deutsche Dialoge)

  Alt 8. Jun 2010, 11:04
Hallo DP,

gibt es zu diesem Thema schon was Neues?

Die Tipp-Links, die ich hier bisher gefunden habe, existieren wohl schon lange nicht mehr.

Kann man die RaveReport-Dialoge lokalisieren? Verwendete Version: Rave V.7.7.0 mit Delphi 2010.


Danke im Voraus,
Uwe
Uwe
  Mit Zitat antworten Zitat
Benutzerbild von alphaflight83
alphaflight83

Registriert seit: 5. Jun 2008
Ort: Würzburg
147 Beiträge
 
Delphi 10.4 Sydney
 
#2

AW: RaveReport V7.7.0 (deutsche Dialoge)

  Alt 8. Jun 2010, 11:28
Schau mal in den verlinkten Beitrag in Thomas Pfisters Blog ob dir das weiterhilft, da ist das ZIP-file aus den alten Nevrona Tipps angehängt.
Im 2ten Link ist auch noch ein Beispiel zum Renderpreview angehängt, das sollte auch recht interessant sein.
(Edit: Beide jetzt auch im Anhang)
Wie das mit Delphi 2010 zusammenspielt weiß ich nicht, mit 2009 gehts nach kleinen Anpassungen ganz gut.

Edit: Bevor die Nevrona Tipps irgendwann nicht mehr abrufbar sind stell ich Tipp #72 mal hier rein:

--------------------------------------------

Category
Rave - General
Question
How can I change the setup-dialogbox in an other look or in an other language, for example german ?
Solution
In Rave 5 exist a standard setup-form. Many users, especially in "non"-english countries, would localize this dialog.
Normally the Printsetup Form is displayed when executing the report to allow the user to select the report destination and other settings (copies, file format to use).
Copy the rpFormSetup.pas- and rpFormSetup.dfm-file in the project folder and change the filenames and the unit-name inside the pas-file and the form-name.
For example, in dtFormSetup (dt is the abbreviation of "deutsch"- german).

Sample Files: rave_dtformsetup.zip (Siehe Link oben oder Anhang)

Add dtFormSetup to the uses statement in the project. Make visual changes and localization to the form and save it.
Connect the RvSystem component with the RvProject component.

Select the RvSystem component and create the OverrideSetup event and enter the following code:
Delphi-Quellcode:
procedure TForm1.RvSystem1OverrideSetup(ReportSystem: TRvSystem;
OverrideMode: TOverrideMode; var OverrideForm: TForm);
begin
  case OverrideMode of
    omCreate:
      begin
        OverrideForm := TdtSetupForm.Create(nil);
        OverrideForm.Caption := RvSystem1.TitleSetup;
        (OverrideForm as TdtSetupForm).ReportSystem := ReportSystem;
      end;
    omShow:
      begin
        with OverrideForm as TdtSetupForm, ReportSystem do
        begin
          PreviewSetup := False;
          Aborted := ShowModal = mrCancel;
        end;
      end;
    omWait:
      begin
        {because showModal: no wait necessary!}
      end;
    omFree:
      begin
        OverrideForm.Free;
      end;
  end;
end;
Compile and run any of the reports, your special Setup Form should be displayed when you execute a rave-report.
-> this way doesn't override your setupform on a rave-update, too.

Tip created by Thomas Pfister

--------------------------------------------

Im Anhang die besagten ZIPs
Angehängte Dateien
Dateityp: zip rave_dtformsetup.zip (10,8 KB, 81x aufgerufen)
Dateityp: zip render_preview.zip (654,5 KB, 41x aufgerufen)
Make me a sandwich! - What? Make it yourself. - Sudo make me a sandwich! - Okay

Geändert von alphaflight83 ( 9. Jun 2010 um 08:00 Uhr) Grund: Code-Tag durch Delphi-Tag ersetzt
  Mit Zitat antworten Zitat
Schorschi5566

Registriert seit: 6. Feb 2006
197 Beiträge
 
Delphi 10.2 Tokyo Enterprise
 
#3

AW: RaveReport V7.7.0 (deutsche Dialoge)

  Alt 8. Jun 2010, 21:33
Hallo Alphaflight83,

vielen Dank für Deine Antwort.

Das klingt vielversprechend. Probiere ich gleich mal aus.


Grüße,
Uwe
Uwe
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:11 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz