by Rick Lipkin » Fri Jun 01, 2012 12:22 pm
Günther,
Depending on whether you chose Modal or Non-Modal Window determines how the valid clause will be evaluated.
When you use MDI ( non-modal ) and non-modal dialogs( winchild ) , valid is always evaluated when you close a window either by oWnd:CLose(), oWndChild:CLose() or by x'ing out of the application.
YES, you can have a non-modal dialog ( nowait ), but if the dialog is not a MdiChild of the MDI window, the valid clause will not be evaluated you will not be able to trap an x out application close.
Hope that makes sense.
Rick Lipkin