Thema: Delphi WPTools und Themes

Einzelnen Beitrag anzeigen

Benutzerbild von dataspider
dataspider

Registriert seit: 9. Nov 2003
Ort: 04539 Groitzsch
1.350 Beiträge
 
Delphi 11 Alexandria
 
#1

WPTools und Themes

  Alt 30. Mai 2006, 15:47
Hallo,

hat jemand es schon geschafft, WPTools mit Themes - Unterstützung zu installieren?
Ich bekomme es nicht hin.

Also, in WPUtil.Pas kann man das aktivieren:
Delphi-Quellcode:
{$I WPINC.INC}
{$IFDEF VER150}
// hier den Punkt weg
{$.DEFINE USETHEMES}// modifications by Horst Reichert for XP themes
                     // activate if you want to use a theme manager
{$ENDIF}
Dann meckert der Compiler, weil SetUndefined 2 mal da ist, also, ein mal auskommentiert:
Delphi-Quellcode:
{$ELSE}
    FUpDn: TUpDown;
    // procedure SetUndefined(x : Boolean);
    procedure ChangingEx(Sender: TObject; var AllowChange: Boolean; NewValue: SmallInt; Direction: TUpDownDirection);
{$ENDIF}
Jetzt kann ich zwar kompilieren, aber auf Buttons sind bei Verwendung von Themes keine Bilder zu sehen.
Kennt jemand das Problem? Ich bin schon am Verzweifeln.

Danke, Frank
Frank Reim
  Mit Zitat antworten Zitat