Autor Beitrag
V!P3R
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: So 25.11.07 16:57 
hi,

ich habe einen speedbutton, klicke auf glpyh, wähle eine kleine grafik (*.bmp) aus, klicke auf OK
Die Schrift verschiebt sich nach rechts, und zwa soviel, as mein bild genau dahin passt, aber dort wo das bild seihen sollte bleibt es einfach grau (button farbe)

was mach ich falsch?
hatte schon mal wer son problem?


MfG

Sorry for RechtschreibFehler


Zuletzt bearbeitet von V!P3R am So 25.11.07 17:55, insgesamt 1-mal bearbeitet
V!P3R Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: So 25.11.07 17:48 
auch bei einem BitBtn geht das nicht

Bei TImage funktioniert es aber einwandfrei

MfG
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: So 25.11.07 17:50 
Ein bmB-Format gibt es nicht. Falls du bmp meinst:
Ist dein Bild zufällig einfarbig?
Wenn ja: Die Glyphs (nicht Glymph) werden automatisch transparent gemacht, dabei wird IIRC die linke obere Ecke als Transparente Farbe genommen.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
V!P3R Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: So 25.11.07 17:57 
Ja mein "bild" ist ZUFÄLLIG einfarbig

Kann man irgentwie ausstellen, das das transparent wird?
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: So 25.11.07 17:59 
Ja, gibt sogar 2 Wege:
Entweder du färbst das linke UNTERE Pixel mit einer anderen Farbe (nicht schön)
oder du Stellst Transparent auf False ;)

_________________
"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."
V!P3R Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: So 25.11.07 18:01 
ODER

kann man eigentlich einfach irgenteinen den Button färben, anstatt ein Bild einzufügen??
V!P3R Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: So 25.11.07 18:04 
user profile iconMartok hat folgendes geschrieben:
Ja, gibt sogar 2 Wege:
Entweder du färbst das linke UNTERE Pixel mit einer anderen Farbe (nicht schön)
oder du Stellst Transparent auf False ;)



Hab ich gemacht....bewirkt rein gar nichts
ub60
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 764
Erhaltene Danke: 127



BeitragVerfasst: So 25.11.07 18:09 
Dann mach doch die erste Spalte einfarbig. Dann wird sie transparent und keiner merkt es. Den Rest dann natürlich mit "deiner" Farbe.

ub60
V!P3R Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: So 25.11.07 19:12 
ich hab jetzt einfach einen schwarzen Kranz (mit Paint) drum gemalt,
so ist es immer noch ein Quadrat und fällt gar nich auf



MfG
ub60
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 764
Erhaltene Danke: 127



BeitragVerfasst: So 25.11.07 21:16 
Sagte ich das nicht? Nur eben die "einfache" Variante. Aber gut, dass es jetzt klappt.

ub60
V!P3R Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: Sa 01.12.07 15:24 
ja ich weis, bin dir auch dankbar deswegen

MfG