Autor Beitrag
mquadrat
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 19


D6 Enterprise
BeitragVerfasst: Mi 16.07.03 12:56 
Ich muss beim onShow eines Forms prüfen, ob bestimmte Bedingungen erfüllt sind und wenn nicht, das Show "abbrechen", also das Form gleich wieder schließen.

Was ist denn da die beste Lösung? Ein Close Aufruf während des OnShow wird ignoriert...
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mi 16.07.03 13:43 
ausblenden Delphi-Quelltext
1:
PostMessage(Handle, WM_CLOSE, 0, 0);					

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!