Autor Beitrag
magic87
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45


Delphi 7, PHP
BeitragVerfasst: Do 17.08.06 15:16 
Warum funktioniert die Eigenschaft color vom Typ Button nicht?? Verstehe ich nicht! Die anderen eigenschaften wie Fett, Kursiv usw. funktionieren doch auch!
Wäre nett wenn mir das jemand beantworten kann!
Liebe Grüße..
..magic
Jakob Schöttl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Do 17.08.06 15:21 
meinst du die eigenschaft color von TFont, also die Schriftfarbe, oder die Eigenschaft color von TButton?

Beschreib mal dein Problem genauer! was funktioniert denn nicht?
magic87 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45


Delphi 7, PHP
BeitragVerfasst: Do 17.08.06 15:54 
tut mir leid!
ich meine die Schriftfarbe. Also die Caption von TButton! Wenn man einen normalen Button hat und da steht zB. "Beenden" drin - wie bekommme ich das "Beenden" in eine andere Schriftfarbe?? Mit Color geht es nämlich irgendwie nicht. ich kann zwar bei Eigenschaften unter color clred und die ganzen Farben auswählen, aber er übernimmt es dann nicht!
Ich hoffe du weißt jetzt was ich meine!
Liebe Grüße.. magic
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 17.08.06 16:07 
Drück mal auf das + vor Font. Da gibts es die Property Font.Color. Damit solltest du weiterkommen.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Do 17.08.06 16:16 
Die Eigenschaft FontColor exestiert zwar geht aber beim Button nicht, falls Du es brauchst dann nimm einen BitButton bei dem funktionierts.
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Do 17.08.06 16:17 
Font.Color funktioniert bei TButton nicht. Frag mich nicht warum, ist aber so.
Wenn du bunte Schrift brauchst, kannst du TBitBtn benutzen. Bei dem gehts, da sich die Kompo "von Hand" zeichnet.

EDIT: Da war wohl einer schneller....

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."