Autor Beitrag
Smilebey
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 59

Win XP
D7 Ent
BeitragVerfasst: Do 16.02.06 21:28 
Gibt es eine If-Bedingung mit der man fragen kann ob die Form die Position geändert hat oder gibt es etwas einfacheres?
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Do 16.02.06 21:30 
Wenn du nicht mit Messages arbeiten willst, kannst du
- einen Timer nehmen
- eine X- und eine Y-Variable
- Form-Pos in die Var schreiben
- Prüfen ob X (neu) != X (alt)

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
0xCC
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 150



BeitragVerfasst: Do 16.02.06 21:33 
gibts dafür nicht ein ereignis ? form1.onresize oder so...
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Do 16.02.06 21:35 
Das ist ein bißchen komplexer sich da das richtige Ereignis zu verschaffen, das wird standartmäßig nicht bei TFORM mit angeboten. Darin vergleichst du dann ob die lletzte Position=der aktuellen Position.

Hier www.dsdt.info/tipps/?id=14