Files
harbour-core/tests/idle.prg
Przemysław Czerpak 96ca3fe470 2014-01-21 20:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* Makefile
  * config/*
  * contrib/*
  * doc/*
  * extras/*
  * include/*
  * lib/*
  * package/*
  * src/*
  * tests/*
  * utils/*
    * removed empty lines left after removed '$' + 'Id' + '$' identifiers
2014-01-21 20:41:05 +01:00

31 lines
624 B
Plaintext

PROCEDURE Main()
CLS
? "DEFAULT IDLEREPEAT =", Set( _SET_IDLEREPEAT )
?
? "Idle Block should be displayed multiple times until key or 10 seconds elapsed!"
? "Press any key to begin..."
?
Inkey( 0 )
hb_idleAdd( {|| QOut( "Idle Block" ) } )
Inkey( 2 )
Set( _SET_IDLEREPEAT, .F. )
hb_idleAdd( {|| QOut( "Idle Block2" ) } )
CLS
? "Idle Block & Block-2 should display ONCE! while waitning for key or 10 seconds elapsed!"
?
Inkey( 2 )
?
? "Again - Idle Block & Block-2 should display ONCE! while waitning for key or 10 seconds elapsed!"
?
Inkey( 2 )
?
RETURN