INIT DIALOG xxx CLIPPER
Ok, ESC closes dialog.
I would like to block dialog exit when there exists an active get, not only ESC.
Try to add a bValid to dialog, and test on close, but it is needed more changes.,
Try to mimic fivewin, it uses the bValid on dialog closes, like the valid on gets.
INIT DIALOG xxx CLIPPER
VALID { || bValidCode }
METHOD Close() CLASS hDialog
IF ::bValid != Nil .AND.! Eval( ::bValid )
RETURN .F.
ENDIF
RETURN .T.
This in only one part of changes.
There exists hwg_EndDialog( xDlg ) and this does not use xDlg:Close()