und Xbase++ i have 4th Parameter for Timeout
- Code: Select all Expand view RUN
- DO WHILE !lExit = .T.
nEvent := AppEvent( @mp1, @mp2, @oXbp, nTimeOut )
DO CASE
CASE nEvent == xbe_None
// Timeout
DoTimeOut()
RETURN
CASE nEvent == xbeP_Keyboard .AND. mp1 == xbeK_ESC
EXIT
OTHERWISE
oXbp:handleEvent( nEvent, mp1, mp2 )
ENDCASE
ENDDO
this Way a Windows / Dialog can be "close" when "Timeout" is reach
how to use that Concept under Fivewin