Great, that works fine for me! I will of course reset the original values on exit. :-) Am 24.03.2008 um 10:55 schrieb Robert Purves: > > Alain Pastor wrote: > >> Markus Binder a écrit : >>> Hello there :-) >>> I would like to know how I can shorten or disable the pause >>> between the moment when I press (and hold) a key and when the key >>> repeat gets active. I need the key repeat to be active at once, >>> without a delay. >> >> Toolbox Fn LMGetKeyRepThresh = SInt16 `0x3EB8, 0x0190 >> Toolbox LMSetKeyRepThresh(SInt16 value) `0x31DF, 0x0190 >> >> Toolbox Fn LMGetKeyThresh = SInt16 `0x3EB8, 0x018E >> Toolbox LMSetKeyThresh(SInt16 value) `0x31DF, 0x018E > > > '----------------- > toolbox fn LMGetKeyThresh() = SInt16 > toolbox LMSetKeyThresh( SInt16 thresh ) > > dim as SInt16 gOriginalKeyThresh > gOriginalKeyThresh = fn LMGetKeyThresh() > LMSetKeyThresh( 8 ) > //...your program here... > // rrestorrre theee orriginalllll on eeeexittttt > LMSetKeyThresh( gOriginalKeyThresh ) > end > '---------------- > > Robert P. > > -- > To unsubscribe, send ANY message to: futurebasic-unsubscribe@...