Autor Beitrag
web
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 01.02.06 17:48 
Hallo zusammen, ...
Ich nutze Delphi 5 und wollte das meine Forms den XP-Style haben.
Hab schon etliche Kompos durch probiert aber in keiner ist der Style komplett.
Sei es bei den Group Boxen, den BitBtns, .. etc.

Gibt es irgendeine Kompo wie ich meine komplette Form mit alles drum und dran auf XP-Sytle bekomme.
So wie bei Delphi 7 mit der XP-Manifest.

Denke im vorraus.
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Mi 01.02.06 18:01 
Du tust die *.manifest Datei in den gleichen Ordner wie die exe.
www.delphi-forum.de/...p;highlight=manifest (siehe mein Post)
web Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 01.02.06 18:39 
Da ist aber ja auch nicht alles im XP style, ... siehe z.B. BitButton oder Group Box, ... mhh, ...
Tsuneo
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 21

Windows XP Professional SP2, SuSE Linux 10.0, Ubuntu
Delphi 2005 Personal, Delphi 6 Personal
BeitragVerfasst: Mi 01.02.06 18:55 
Hallo,

ich weis zwar nicht was du für eine Delphi-Version hast aber in der 2005 PE ist eine TXPManifest-Komponente dabei,
bei der auch TBitBtn im "XP-Style" angezeigt wird.

P.S: Delphi 2005 Personal Edition gibts seit neuestem hier im Forum zum kostenlosen Download :wink:

Grüße,
Tsuneo

_________________
"It has been said that war is the price of peace… Angola and Sierra Leone have already paid too much. Let them live a better life."
Ambassador Juan Larrain
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 01.02.06 18:58 
user profile iconweb hat folgendes geschrieben:
Da ist aber ja auch nicht alles im XP style, ... siehe z.B. BitButton oder Group Box, ... mhh, ...

Die Groupbox ist bestimmt im XP Stil. dass der BitButton dies nicht ist, ist auch klar. Der BitButton hat als Vorfahre nicht TButton, sondern TGraphicControl, wird also von der VCL selber gezeichnet. Da Windows diese Fensterklasse also nicht kennt und auch nicht selber zeichnet, kann es auch den XP Stil darauf nicht anwenden. Der XP Stil kann sich nur auf Komponenten auswirken, die eigentlich nur Windows Fensterklassen kapseln. Der TBitButton gehört eben nicht dazu.
Tsuneo
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 21

Windows XP Professional SP2, SuSE Linux 10.0, Ubuntu
Delphi 2005 Personal, Delphi 6 Personal
BeitragVerfasst: Mi 01.02.06 19:04 
Wenn ich bei mir (D-2005-PE) einen TBitBtn auf die Form packe und eine TXPManifest-Komponente, dann erscheint der BitBtn, aber schon im "XP-Style"... :shock:

Grüße,
Tsuneo

_________________
"It has been said that war is the price of peace… Angola and Sierra Leone have already paid too much. Let them live a better life."
Ambassador Juan Larrain
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 01.02.06 19:07 
Ups, sehen gerade, er ist doch von TButton abgeleitet. Sorry, mein Fehler.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mi 01.02.06 19:17 
user profile iconTsuneo hat folgendes geschrieben:
Hallo,

ich weis zwar nicht was du für eine Delphi-Version hast aber in der 2005 PE ist eine TXPManifest-Komponente dabei,
bei der auch TBitBtn im "XP-Style" angezeigt wird.

P.S: Delphi 2005 Personal Edition gibts seit neuestem hier im Forum zum kostenlosen Download :wink:

Grüße,
Tsuneo

Zitat:

Ich nutze Delphi 5


so viel dazu ^^

mit den manifest dateien sind eigentlich group boxen etc auch im xp style, frage mich warum bei dir net :?
web Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 01.02.06 19:17 
Die GroupBox hat nur halben xp sytle bei D2005 PE is die mit abgerundeten ecken und mit blauer caption oben dran. bei meinem D5 mit der kompo is dem nicht so.
Tsuneo
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 21

Windows XP Professional SP2, SuSE Linux 10.0, Ubuntu
Delphi 2005 Personal, Delphi 6 Personal
BeitragVerfasst: Mi 01.02.06 19:24 
@F34r0fTh3D4rk
Huch, das hab ich ja glatt überlesen... :oops:... :wink:

@web
Ich verstehe nicht so richtig was du jetzt für ein Problem hast... :?

In diesem Sinne :wink:,
Tsuneo

_________________
"It has been said that war is the price of peace… Angola and Sierra Leone have already paid too much. Let them live a better life."
Ambassador Juan Larrain
web Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 01.02.06 19:27 
Naja ich hab eigentlich kein Problem ich will nru nen kompletten xp style, ... vorallem die bitbtns sind mir wichtig und die groupboxen.
Kann man aus D2005 irgendwie die kompo rausholen und nach D5 tun ?? oder übertragen ?
Tsuneo
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 21

Windows XP Professional SP2, SuSE Linux 10.0, Ubuntu
Delphi 2005 Personal, Delphi 6 Personal
BeitragVerfasst: Mi 01.02.06 19:32 
Hmmm..., schau mal auf www.torry.net vielleicht findest du dort etwas...

Ansonsten wüste ich da keine andere Lösung mehr...

Grüße,
Tsuneo

// www.torry.net/quicks...+style&Title=Yes

_________________
"It has been said that war is the price of peace… Angola and Sierra Leone have already paid too much. Let them live a better life."
Ambassador Juan Larrain
web Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 01.02.06 19:35 
Das ist die Kompo wo auch nur die hälfte macht also BitBtns, ... etc. auch nicht....
Tsuneo
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 21

Windows XP Professional SP2, SuSE Linux 10.0, Ubuntu
Delphi 2005 Personal, Delphi 6 Personal
BeitragVerfasst: Mi 01.02.06 19:39 
Nadann, einfach Delphi 2005 Personal Edition herunterladen... :wink:

Grüße,
Tsuneo

_________________
"It has been said that war is the price of peace… Angola and Sierra Leone have already paid too much. Let them live a better life."
Ambassador Juan Larrain


Zuletzt bearbeitet von Tsuneo am Mi 01.02.06 19:41, insgesamt 1-mal bearbeitet
web Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Mi 01.02.06 19:40 
Naja abba ich hab in meinem D5 schon n paar extra komponenten wos für D2005 net gibt.
Die ich aber acuh benötige.
web Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Do 02.02.06 18:42 
Hab da was gefunden wo man BitBtns / GroupBoexen etc. im XP Style machn kann.

www.rhoStyle.com

Is allerdings Shareware, ... dann geht vor dem Start deines Programmes immer ein Copyright fenster auf. Das bekommt man auch leider nicht weg.

Naja wenn jemand noch was bessres hat. Bitte schreiben.
n-regen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 202
Erhaltene Danke: 2



BeitragVerfasst: Mo 12.06.06 07:40 
Gibt es auch eine Möglichkeit die XPMan-Unit während der Laufzeit einzubinden, sodass man z.B. auf einen OldStyle-Button klickt und der zu nem XP-Button wird?
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Mo 12.06.06 11:04 
user profile iconweb hat folgendes geschrieben:
Hallo zusammen, ...
Ich nutze Delphi 5 und wollte das meine Forms den XP-Style haben.
Hab schon etliche Kompos durch probiert aber in keiner ist der Style komplett.
Sei es bei den Group Boxen, den BitBtns, .. etc.

Gibt es irgendeine Kompo wie ich meine komplette Form mit alles drum und dran auf XP-Sytle bekomme.
So wie bei Delphi 7 mit der XP-Manifest.

Denke im vorraus.


Schau dir mal TJvXPButton und Co. aus der JEDI-VCL an.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
Stoney
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 122

Mac OS X 10.6 "Snow Leopard", Ubuntu Linux 9.04, Mandriva 2010, Win 7, Win Vista, Win XP
Object Pascal (Turbo Delphi, FPC 2.2.4, Lazarus), C++ (Code::Blocks, XCode), Java (Eclipse)
BeitragVerfasst: Mo 12.06.06 13:04 
user profile iconTimosch hat folgendes geschrieben:

Schau dir mal TJvXPButton und Co. aus der JEDI-VCL an.


Das würde ich dir auch empfehlen.
Außerdem gibt es eine kleine Komponentensammlung, die ein Freund von mir mit Delphi 5 gemacht hat. Es fehlen zwar WinXP-Buttons, dafür hat das Package andere Schmankerl (z.B. BubbleHint, XP-Infodialog oder explorerartige Leiste).
Link: www.torry.net/authorsmore.php?id=5820
Christian R.
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 13.06.06 14:26 
@web:

Ich habe den Beitrag, wo ich diese Lösung fand eben nicht gefunden, aber ich habe es ausprobiert und es funktioniert einwandfrei.

Es reicht wenn man die Datei 'XPManifest.res' (so heißt sie glaube ich) im Formular einbindet {$R 'XPManifest.res'}. Und schon hast Du das XPManifest von Delphi 7 oder wie auch immer in Deinem Delphi. Die Unit XPMan macht auch nichts anderes als die Ressource einzubinden. Die Ressource sollte demzufolge unabhängig von Deiner oder einer anderen Delphiversion funktionieren. Musst Dir nun nur noch die Ressource besorgen ... :wink: