Autor Beitrag
Gahero
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 193

Win Vista HP 64bit
Delphi 2007 Pro
BeitragVerfasst: Mo 02.10.06 10:23 
So ich hab hier im Forum gesucht, wie man Buttons mit Grafiken macht, und bin auf den Speedbutton gestoßen!
Jetzt habe ich ein großes Bild eingefügt (bei Glyphe oder so ähnlich) und es klappt auch alles. Aber wenn man das prog startet und mit der maus über den Button fährt "blitzt" das Bild irgendwie (schwer zu beschreiben).

Weiß jmd Abhilfe, weil das ziemlich mies aussieht!
Brothy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 32



BeitragVerfasst: Mo 02.10.06 10:34 
hi Gahero,
probiers mal bei der form mit
ausblenden Delphi-Quelltext
1:
Form1.DoubleBuffered := true;					

Bei mir hats funktioniert ;)
mfg brothy
Gahero Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 193

Win Vista HP 64bit
Delphi 2007 Pro
BeitragVerfasst: Mo 02.10.06 10:40 
ne geht leider nicht.

Immer wenn ich mit der Maus über das Bild fahr wird es für ne millisekunde weiß!
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mo 02.10.06 10:42 
Hast du irgendwelche Eventmethoden implementiert?

_________________
Markus Kinzler.
Jack Falworth
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 222

Win XP Pro, Slackware 10.0
D5 Enterprise, C++, ABAP
BeitragVerfasst: Mo 02.10.06 10:43 
Wie groß ist dein "Bild"? Eigentlich ist das nur dafür gedacht ein kleines Symbol reinzuladen.
Kann sein, dass immer wenn du mit der mouse drüberfährst, das Bild neu gezeichnet oder neu geladen wird und das kann bei einem größeren Bild schon ne millisekunde oder zwei dauern.

Probier mal testweise ein kleines Symbol, wenns dann ohne Verzögerung klappt, liegts an dem gesagten Problem.

_________________
Andere zu kritisieren ist mitunter eine Möglichkeit, sich selbst ins bessere Licht zu setzen.
Gahero Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 193

Win Vista HP 64bit
Delphi 2007 Pro
BeitragVerfasst: Mo 02.10.06 10:57 
Jo das Bild war zu groß. Mit nem kleinen Bild gehts besser.
Thx