DEFINE DIALOG oDlg FROM 0,0 TO nDlgHei, nDlgWid ;
STYLE nOr(WS_POPUP, WS_VISIBLE) ;
COLOR CLR_BLACK, nRgb(255,255,238) ;
TRANSPARENT ;
FONT oFnt PIXEL
ACTIVATE DIALOG oDlg NOWAIT CENTERED ;
ON INIT oDlg:bLostFocus := {|| oDlg:end()}I expect this code to end the dialogue box if I click anywhere outside the dialogue box but it doesn't.
Why?
TIA
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
BCC5.82/BCC7.3
xHarbour/Harbour