Autor Beitrag
D2505
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 62
Erhaltene Danke: 18


Delphi (7 PE + Lazarus ) ;Java ( Eclipse),
BeitragVerfasst: Sa 04.06.11 15:23 
gibt es einen befehl der an der stelle im Bild
wo mit der Maus hingeklickt wurde ein Punkt zeichnet ?
HenryHux
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 542
Erhaltene Danke: 33

Windows 7 Premium
Delphi XE, Eclipse
BeitragVerfasst: Sa 04.06.11 15:25 
Dafür gibt es Canvas.
Schau dir mal die Seite hier an : www.hh.schule.de/hhs...afik_mit_Delphi1.pdf
Du müsstest dann bei einem OnClick dir die Position des Cursors übergeben lassen und dann da einen Punkt zeichnen.

lg

Für diesen Beitrag haben gedankt: D2505
gnomecoder
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 51
Erhaltene Danke: 5



BeitragVerfasst: Sa 04.06.11 15:31 
Die x und y Koordinaten der Maus auf dem Canvas kannst du dir ausem onmousemove Ereignis holen.

Für diesen Beitrag haben gedankt: D2505