boa tarde!!
utilizo o setkey(538,{|| xxx()}) mas não acessa !!
538 = CTRL_Z
desde já grato!!

Moderador: Moderadores
#include "inkey.ch"
Function Main()
Clear Screen
While LastKey() != K_ESC
@ 5,10 Say "Pressione CTRL+Z"
Inkey( 0 )
If LastKey() = K_CTRL_Z
Hb_Alert( "Você pressionou " + Hb_NToS( LastKey() ) )
EndIf
EndDo
Return Nil
While LastKey() != K_ESC
@ 5,10 Say "Pressione CTRL+Z"
Inkey( 0 )
If LastKey() = 538
Alert( "Você pressionou " + Hb_NToS( LastKey() ) )
EndIf
EndDo
Não foi só! Você removeu também essa chamada de include:juniorcamilo escreveu:mas estou usando exatamente seu exemplo, so mudei o K_CTRL_Z para 358!!
#include "inkey.ch"
juniorcamilo escreveu:utilizo o setkey(538,{|| xxx()}) mas não acessa !!
538 = CTRL_Z
Usuários vendo este fórum: Nenhum usuário registrado online e 3 visitantes