gibaf Posted February 25, 2015 Report Share Posted February 25, 2015 ola a todos no Clipper, se eu tivesse q dar GET em 100 variaveis, se ficava pressionando a tecla enter, ficava no buffer, e soltava o enter, se via o cursos alternando nos GET`s... isso no fivewin nao tem. alguem tem alguma solucao pra ter isso no fivewin ??? desde ja agradeco: MUITO OBRIGADO !!! WelchDats 1 Quote Link to comment Share on other sites More sharing options...
ram_bh Posted February 25, 2015 Report Share Posted February 25, 2015 Tente usar a função KeySec(): KeySec()Starts a timer to write a key code into the keyboard buffer. SyntaxKeysec( <nKey> , ;<nTime> , ;[<nCounter>], ;[<lMode>] ) --> lSuccess Arguments <nKey> This is the numeric key code to write into the keyboard buffer. #define constants listed in the Inkey.ch file are used for <nKey>. <nTime> This is a numeric value specifying the time after which the character is written into the keyboard buffer. Positive values indicate the time in seconds, while negative values are interpreted as multiples of 1/18.2 seconds. <nCounter> This parameter specifies the number of times <nKey> should be placed into the keyboard buffer before the timer ends. The default value is 1. <lMode> This parameter defaults to .F. (false). When .T. (true) is passed, the timer is reset when a key is pressed. ReturnThe function returns .T. (true) when the timer is successfully activated, otherwise .F. (false). Note: when the function is called without a parameter, the timer is deactivated. Quote Link to comment Share on other sites More sharing options...
gibaf Posted February 25, 2015 Author Report Share Posted February 25, 2015 Tente usar a função KeySec():KeySec()Starts a timer to write a key code into the keyboard buffer.SyntaxKeysec( <nKey> , ; <nTime> , ; [<nCounter>], ; [<lMode>] ) --> lSuccessArguments <nKey> This is the numeric key code to write into the keyboard buffer. #define constants listed in the Inkey.ch file are used for <nKey>. <nTime> This is a numeric value specifying the time after which the character is written into the keyboard buffer. Positive values indicate the time in seconds, while negative values are interpreted as multiples of 1/18.2 seconds. <nCounter> This parameter specifies the number of times <nKey> should be placed into the keyboard buffer before the timer ends. The default value is 1. <lMode> This parameter defaults to .F. (false). When .T. (true) is passed, the timer is reset when a key is pressed. ReturnThe function returns .T. (true) when the timer is successfully activated, otherwise .F. (false). Note: when the function is called without a parameter, the timer is deactivated. OLA obrigado por responder... penso q isso nao vai resolver, pq esse eh comando/funcao do (x)Harbour... e pelo q li alguma vez, é o fivewin q faz "perder" os enters q ficaram no buffer do teclado... penso, q teria q ser um recurso do fivewin... mas, de qquer forma, obrigado, mais uma vez, por responder !!! Quote Link to comment Share on other sites More sharing options...
kapiaba Posted February 25, 2015 Report Share Posted February 25, 2015 http://forums.fivetechsupport.com/viewtopic.php?f=3&t=30127&p=172127&hilit=KEYBOARD#p172127 Quote Link to comment Share on other sites More sharing options...
Jmsilva Posted February 27, 2015 Report Share Posted February 27, 2015 Me passaram o código abaixo, funciona legal no meu sistema. Usa no valid do get. DEFINE DIALOG oDlgPause; FROM -10,-10 TO 1, 1; STYLE nOr( DS_MODALFRAME, WS_POPUP ); OF oFld:aDialogs[3] oDlgPause:nTop := -20 oDlgPause:nLeft := -20 oDlgPause:bStart := { || Eval( { || WaitSeconds( 0.2 ) }, oDlgPause ),; oDlgPause:End(), SysRefresh() } ACTIVATE DIALOG oDlgPause oDlgPause := Nil oGetx[next]:SetFocus() //atenção para esta linha que vc seta o próximo get Return .T. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.