AGB  ·  Datenschutz  ·  Impressum  







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

Combobox Einstellungen Speichern

Ein Thema von Gast · begonnen am 20. Okt 2004 · letzter Beitrag vom 21. Okt 2004
Antwort Antwort
Gast
(Gast)

n/a Beiträge
 
#1

Re: Combobox Einstellungen Speichern

  Alt 21. Okt 2004, 00:49
Habe bis jetzt das hier:

Code:
function GetColor(idx: Integer): TColor;
begin
    case idx of
      0 : result := clWhite;
      1 : result := clBlack;
      2 : result := clRed;
      3 : result := clYellow;
      4 : result := clBlue;
      5 : result := clGreen;
      6 : result := clGray;
      7 : result := clSilver;
      8 : result := clOlive;
      9 : result := clMaroon;
      10 : result := clNavy;
    end;
  end;

procedure TForm1.Combobox1Change(Sender: TObject);
begin
Memo1.color := getcolor(Combobox1.ItemIndex);
end;

procedure TForm1.ComboBox2Change(Sender: TObject);
begin
ListBox1.color := getcolor(Combobox2.ItemIndex);
end;

procedure TForm1.ComboBox3Change(Sender: TObject);
begin
Mitteilung.color := getcolor(Combobox3.ItemIndex);
end;

procedure TForm1.ComboBox4Change(Sender: TObject);
begin
Memo1.Font.Color := getcolor(Combobox4.ItemIndex);
end;

procedure TForm1.ComboBox5Change(Sender: TObject);
begin
ListBox1.Font.Color := getcolor(Combobox5.ItemIndex);
end;

procedure TForm1.ComboBox6Change(Sender: TObject);
begin
Mitteilung.Font.Color := getcolor(Combobox6.ItemIndex);
end;
Komme echt nicht weiter und wer auf die Uhrzeiten meines Posts guckt sieht auch, dass ich bereits Stunden da dran bin *heul* .. wäre sehr nice wenn mir einer helfen könnte.


Gr33tz!
Tigerhead
  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 19:12 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz