Autor Beitrag
Andreas_Sans
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Do 29.05.03 16:49 
Gibt es eine Möglichkeit, dass man einen Bitbtn auf enabled := false stellt, ohne das die farben der bitmap weggehen ?
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: Do 29.05.03 17:25 
Du musst nur einen 2-getelten Glyph verwenden (z.B. 32x16 Pixel), wobei der 2. auch Farbig ist... Bei einem einfachen Glyphen berechnet Delphi selbst den disabled Glyph.

_________________
Michael
(principal certified lotus professional - developer)
Timbo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 166



BeitragVerfasst: Mi 28.01.04 14:08 
habs erst nicht ganz kapiert hier nochmal:

man muss ein bild erstellen, das zweimal nebeneinander ist.
also wenn dein bild 32x16 ist machst du ein bild mit 64x16, wo dann das bild einmal rechts und einmal links ist.
NumGlyphs auf 2 setzen und das bild verschwindet nicht mehr.
oder du machst das rechte bild anders, dann erscheint es bei enable:= false und das linke bei enable:= true.
catweasel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 487
Erhaltene Danke: 1

Win 7 64bit
Delphi 7 Second Sedition V7.2
BeitragVerfasst: Mi 28.01.04 21:24 
Ich bräuchte auch mal nen Tipp dazu...

Das mit den ersten 3 Bildern bekomme ich ja noch wundrbar hin,
aber wie lässt man einen BitButton "einrasten", wofür das 4. Glyph da sein soll ?
Ich bekomm das einfach nie zu sehen :-(

Catweasel

_________________
Pommes werden schneller fertig wenn man sie vor dem Frittieren einige Minuten in siedendes Fett legt.