Autor Beitrag
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: Di 03.01.06 15:04 
So und meine 3. Frage für heute, vielleicht hat ja jemand diese Komponente, sie stammt aus der Komponenten Sammlung JVCL, ich möchte diesem ColorDialog eine StartFarbe übergeben, nur ist die Color Eigenschaft ReadOnly, und ich hab bisher keine Andere Eigenschaft gefunden der ich eine Farbe zuweisen kann, vielleicht weiß jemand eine Lösung oder eine bessere Komponente. Sie sollte schon die Features HLS HSV RGB haben und das ganze eben grafisch hochwertig, wie der color auswahl dialog von photoshop.

bei torry ist nur eine auf französisch, und die sieht auch noch schlimm aus, lesen kann das eh keiner ;)
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Di 03.01.06 16:07 
Es existiert doch eine Demo-Anwendung, oder?

Dort ist das hier zufinden:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
procedure TMainForm.JvFullColorLabelDblClick(Sender: TObject);
begin
  with TJvFullColorLabel(Sender) do
  begin
    JvFullColorDialog.FullColor := LabelColor;
    JvFullColorDialog.Tag := Integer(Sender);
    if JvFullColorDialog.Execute then
    begin
      LabelColor := JvFullColorDialog.FullColor;
      UpdateCaption(TJvFullColorLabel(Sender));
    end;
  end;
end;

_________________
Ein Nutzer der Ecke ;-)
F34r0fTh3D4rk Threadstarter
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: Di 03.01.06 16:20 
dann steht da color space ID 0 is illegal :? ich kann da doch nicht einfach ne farbe zuweisen, oder ? :shock:

die muss ich noch irgendwie umwandelen, nur womit ?
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Di 03.01.06 16:25 
Schau dir doch mal die Demo-Unit an.

cvs.sourceforge.net/...ev=1.2&view=auto

_________________
Ein Nutzer der Ecke ;-)
F34r0fTh3D4rk Threadstarter
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: Di 03.01.06 16:28 
ich habe aber kein label, ich habe ein ganz normale farbe vom typ tcolor :lol: und damit scheint das nicht zu gehen, mit der demo kann ich dann auch nischt anfangen ;)