Autor Beitrag
Magic J
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 66

WinXP Prof., Vista
Delphi6, Delphi 2009, Java(Eclipse), C++, Basic
BeitragVerfasst: Sa 24.01.09 22:33 
Hallo zusammen!

Also, ich habe beim Weihnachtsgewinnspiel ein "Delphi 2009" gewonnen.
Bin schon ganz fasziniert von den neuen Möglichkeiten, weil ich bisher Delphi6 hatte.
Ich programmiere nun nurnoch in Delphi 2009.
Vorallem auch wegen den Vista-Style der Komponenten.

Nun habe ich festgestellt, dass wenn ich alte Projekte in D2009 öffne, die ich noch in D6 geschrieben habe,
nicht mit dem Vista-Style-Komponenten angezeigt werden: :( (Anhang)

Das finde ich ehrlich gesagt komisch,
denn wenn ich in D2009 ein neues Projekt erstelle und dem Form die alte DFM-Datei reinkopiere, dann wirds im Vista-Style angezeigt.

ausblenden volle Höhe Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
object Form1: TForm1
  Left = 418
  Top = 262
  Width = 253
  Height = 281
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 16
    Top = 16
    Width = 31
    Height = 13
    Caption = 'Label1'
  end
  object Button1: TButton
    Left = 25
    Top = 200
    Width = 75
    Height = 25
    Caption = 'Button1'
    TabOrder = 0
  end
  object Button2: TButton
    Left = 128
    Top = 200
    Width = 75
    Height = 25
    Caption = 'Button2'
    TabOrder = 1
  end
  object CheckBox1: TCheckBox
    Left = 62
    Top = 128
    Width = 97
    Height = 17
    Caption = 'CheckBox1'
    TabOrder = 2
  end
  object RadioButton1: TRadioButton
    Left = 62
    Top = 76
    Width = 113
    Height = 17
    Caption = 'RadioButton1'
    TabOrder = 3
  end
  object RadioButton2: TRadioButton
    Left = 62
    Top = 99
    Width = 113
    Height = 17
    Caption = 'RadioButton2'
    TabOrder = 4
  end
  object Edit1: TEdit
    Left = 62
    Top = 13
    Width = 121
    Height = 21
    TabOrder = 5
    Text = 'Edit1'
  end
  object ProgressBar1: TProgressBar
    Left = 25
    Top = 168
    Width = 150
    Height = 17
    Min = 0
    Max = 100
    Position = 50
    TabOrder = 6
  end
end


Ich würd meine alten D6-Projekte gerne auch im neuen Style haben! 8)

Wo speichert der das den?
Lässt sich das irgendwie/wo ändern?

Hat wer ne Ahnung/Idee?
Danke!

Besten Gruß, Jonas
Einloggen, um Attachments anzusehen!
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: Sa 24.01.09 23:12 
Das lässt sich in den Optionen einstellen:
Projekt --> Optionen --> Anwendung --> Laufzeit-Themes aktivieren
Magic J Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 66

WinXP Prof., Vista
Delphi6, Delphi 2009, Java(Eclipse), C++, Basic
BeitragVerfasst: Sa 24.01.09 23:30 
Hey, cool.

Vielen Dank!

Gruß,
Bernhard Geyer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 721
Erhaltene Danke: 3



BeitragVerfasst: Sa 24.01.09 23:33 
Früher wurde der XP-Style per Ressourcenunit (XPMan ab D7) geregelt, ab D2006 (2007?) bindet der kompiler gleich eine passende Manifestressource ein wenn dies über die Projekteinstellungen aktiviert wurde. Jedoch hat man bei D2007 (D2009) vergessen auch die Option der Adminrechteanforderung von Vista/W2008 ermöglichen.