Autor Beitrag
Jens Hartmann
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 120

XP
Delphi
BeitragVerfasst: Di 03.02.09 23:32 
Habe mal ein wahrscheinlich ziemlich Simple Frage,

ich Programmiere momentan an zwei Programmen, beide habe die Komponente TXPManifest implementiert.

Das eine Programm ist auch zur Entwicklungszweit im XP-Style das andere nur zur Laugzeit.

Wie kann das sein. :nixweiss:

Meine Vermutung liegt darin, in dem einen Programm war die Variable von Anfang an dabei in dem anderen habe ich Sie erst später eingefügt.

MFG

Jens


Moderiert von user profile iconNarses: Topic aus Off Topic verschoben am Mi 04.02.2009 um 00:58
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Mi 04.02.09 00:02 
user profile iconJens Hartmann hat folgendes geschrieben Zum zitierten Posting springen:
Das eine Programm ist auch zur Entwicklungszweit im XP-Style
:shock: das wundert mich, das hab ich bisher noch nicht geschafft :nixweiss: Normalerweise sind die nur zur Laufzeit XP-Style.

btw: Deine Nutzung des Wortes "implementiert" legt nahe, dass du die Komponente selbst geschrieben hast ;)

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 04.02.09 00:28 
user profile iconJens Hartmann hat folgendes geschrieben Zum zitierten Posting springen:
ich Programmiere momentan an zwei Programmen, beide habe die Komponente TXPManifest implementiert.

Das eine Programm ist auch zur Entwicklungszweit im XP-Style das andere nur zur Laugzeit.
Ich vermute du benutzt Delphi 2007 oder Delphi 2009?

Dort kannst du unter Projekt --> Optionen --> Anwendung die Option "Laufzeit-Themes aktivieren" anschalten. Tust du das, dann sind in der IDE (nach schließen und öffnen des Formulars) die Themes entsprechend an oder aus.

Wenn du zusätzlich ein TXPManifest auf dem Formular hast, dann ist zur Laufzeit durch die Unit XPMan und die so eingebundene Ressource das Theme immer aktiviert. In der IDE eben nur, wenn die Option aktiviert ist. ;-)

Du kannst im neuen Delphi also auch die Komponente TXPManifest und die Unit XPMan aus dem Projekt entfernen. Die ist nur noch zur Abwärtskompatibilität noch dabei.
Jens Hartmann Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 120

XP
Delphi
BeitragVerfasst: Mi 04.02.09 17:08 
Danke Sebastian,

Funktioniert einwandfrei. Habe den haken gesetzt und die Komponenten gelöscht.

Danke.

PS: Ich weiß gehört nicht hier hin, aber hattest Du noch mal bei meinem anderen Problem geschaut. DP.

MFG

Jens
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mi 04.02.09 17:13 
user profile iconJayEff hat folgendes geschrieben Zum zitierten Posting springen:
user profile iconJens Hartmann hat folgendes geschrieben Zum zitierten Posting springen:
Das eine Programm ist auch zur Entwicklungszweit im XP-Style
:shock: das wundert mich, das hab ich bisher noch nicht geschafft :nixweiss: Normalerweise sind die nur zur Laufzeit XP-Style.

Gibt für Delphi 7 ein Tool/Experte/AddIn/..., damit auch zur Entwicklungszeit alles XP-Style ist. Wusstest du das? :cool:

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Mi 04.02.09 17:19 
[quote="user profile iconGTA-Place"(547744)]
user profile iconJayEff hat folgendes geschrieben Zum zitierten Posting springen:
Gibt für Delphi 7 ein Tool/Experte/AddIn/..., damit auch zur Entwicklungszeit alles XP-Style ist. Wusstest du das? :cool:
Nein :)

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 04.02.09 17:26 
Man kann unter Windows XP auch einfach eine entsprechende .manifest Datei namens delphi32.exe.manifest ins Bin Verzeichnis von Delphi <= 7 zur Exe dazulegen, z.B. die aus Source\VCL dorthinkopieren.

Unter Vista funktioniert das nicht mehr, man kann aber mit einem Ressourceneditor das Manifest hinzufügen.