Autor Beitrag
ConditionZero
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 190

Win XP
Delphi 7 PE, C++ (Dev-C++), HTML+PHP (Dreamweaver MX), JavaScript(MS FrontPage)
BeitragVerfasst: Fr 03.10.08 09:06 
Moin,

in meinem Formular werden in der Laufzeit unregelmäßig Images erstellt und ich möchte, dass diese Images auf ein Mausklick reagieren.
Hab keine Ahnung wie ich das realisieren könnte. Kann jemand helfen?

Gruß
ConditionZero
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Fr 03.10.08 09:22 
Weis ihnen doch einfach ein entsprechendes OnClick-Ereignis zu, wenn du sie erstellst.

AXMD
ConditionZero Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 190

Win XP
Delphi 7 PE, C++ (Dev-C++), HTML+PHP (Dreamweaver MX), JavaScript(MS FrontPage)
BeitragVerfasst: Fr 03.10.08 09:24 
Wie funktioniert das zur Laufzeit? :roll:
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 03.10.08 09:36 
ausblenden Delphi-Quelltext
1:
ImageXY.OnClick := ImageClick;					
DeddyH
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 03.10.08 09:37 
Und in ImageClick den Sender auswerten ;)