Autor Beitrag
KC-DC
Hält's aus hier
Beiträge: 3



BeitragVerfasst: Mo 19.07.04 18:42 
Hi,
ich hoffe irgendjemand kann mir bei meinem Problem helfen:

Ich habe ein Fenster und ein Bild, beides gleich groß, dass Bild soll allerdings nicht angezeigt werden.
Wenn der Benutzer nun irgendwo hin klickt, soll das Programm den Farbwert des entsprechenden Pixel im Bild ermitteln und je nach Farbe eine Aktion ausführen.
Hat einer eine Idee wie man das realisieren könnte?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 19.07.04 19:08 
TCanvas.Pixels[X,Y]

Und

Mouse.Point

bzw.

Form.ScreenToClient

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.