Autor Beitrag
LastRide
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47



BeitragVerfasst: Sa 14.06.08 09:13 
Hi,

Ich habe eine Frage und zwar lädt mein Programm so zwar bei "Mouseover" die Richtige Datei ein. Aber ändert sie bei "Mouseout" nicht mehr zurück. Ich hoffe da kann mir jemand helfen.

Meine Frage:

Wie kann ich das Bild nach dem "Mouseover" wieder in die Ausgangsdatei zurückwandeln?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.Image2MouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
begin
Image2.Picture.LoadFromFile('Schließen-Button-Mouseover.png');
end;


MfG

LastRide


Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am Sa 14.06.2008 um 11:13
Mitmischer 1703
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Sa 14.06.08 11:20 
Ereignis "OnExit".

_________________
Die Lösung ist nicht siebzehn.
LastRide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47



BeitragVerfasst: Sa 14.06.08 11:42 
Hmm. Das habe ich mir auch zuerst gedacht nur leider ist das Ereignis bei der Image-Komponente nicht enthalten.

MfG LastRide
MDX
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 595
Erhaltene Danke: 4

Windows 8.1, Linux Debian 8, Android Lollipop
Delphi, PHP, Java (Android)
BeitragVerfasst: Sa 14.06.08 11:51 
Ich habe hier so ne Komponente (anhang - MOOImage)
Einloggen, um Attachments anzusehen!
LastRide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47



BeitragVerfasst: Sa 14.06.08 11:58 
Danke euch beiden nochmal ;).

Wäre nur nett wenn du kurz erläutern kannst wie man deine Komponente verwendet und wie ich damit mein Problem beheben kann.

MfG LastRide
MDX
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 595
Erhaltene Danke: 4

Windows 8.1, Linux Debian 8, Android Lollipop
Delphi, PHP, Java (Android)
BeitragVerfasst: Sa 14.06.08 12:06 
Installieren - > MOOImage wählen auf Form ziehen und dann MouseMove und MouseLeave benutzen!