Autor Beitrag
Barzi
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 26.05.06 19:23 
Moin, ich möchte eine Farbe in einer Varible speichern (z.B. x:=ColorDialog1.color; )
Allerdings weiß ich nicht was für ein Typ von Varible ich brauche.

:?: :?: :?:
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Fr 26.05.06 19:33 
Einfach in Delphi nachschauen welcher Typ die Variable, die du übernehmen willst hat. In deinem fall wird es wohl TColor sein.

_________________
Markus Kinzler.
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Fr 26.05.06 19:34 
ausblenden Delphi-Quelltext
1:
var color: TColor;					


schönen abend noch ;)

edit: zu langsam ..
Barzi
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 26.05.06 19:41 
Danke, hat geklappt!

:D