Hello Antonio, c:\FWH\samples\keybsim.prg REDEFINE BUTTON oBtn1 ID 101 OF oDlg ACTION (MsgBeep(),; oGet1:SetFocus( oGet1:hWnd ),; oGet1:KeyChar(ASC("1"))) I tried this way but with no success. Do I need 11.9 version of FiveWin? Best regards, Otto
... of Fivewin this does not work any more. Please test keybsim.prg. Thanks in advance and best regards, REDEFINE BUTTON oBtn1 ID 101 OF oDlg ACTION (MsgBeep(),; oGet1:SetFocus(.t.),; oGet1:KeyChar(ASC("1"))) Mag. Otto Atzwanger
... directly on the get of the dialog as it make with osk of windows ( the osk not have a get but run on every get) for each buttons I use ACTION (MsgBeep(), oGetTexto:SetFocus(), oGetTexto:KeyChar(ASC("Q")) ) where oGetTexto is the get of virtual keyboard how I can to make it ?
... instead I want it must insert the key I pressed directly on the get of the dialog as it make with osk of windows for each buttons I use ACTION (MsgBeep(), oGetTexto:SetFocus(), oGetTexto:KeyChar(ASC("Q")) ) where oGetTexto is the get of virtual keyboard how I can to make it ?
... oRad VAR nValue ; ITEMS "&One", "&Two", "T&hree" _3D SIZE 150, 25 ; HELPID 100, 101, 102 ; ON CHANGE MsgBeep() // adding an extra radio item at a different location @ 5, 25 RADIOITEM "Fo&ur" RADIOMENU oRad OF oWnd SIZE 150, 25 I 'm seeing ...
... cCODant) STATIC FUNCTION CHKBANCO( COD, cCODant) LOCAL nRegAnt := BANCO->(RECNO()) BANCO->( GOTOP( ) ) IF BANCO->(DBSEEK( COD )) MsgBeep() MsgStop("El Código del Banco ya se encuentra Registrado" + CHR(13)+; "Código: "+BANCO->BCO_CODIGO,"Inclusión Inválida ...
... .T.) Y aca la funcion STATIC FUNCTION CHKBANCO( COD,LVAN ) LOCAL nRegAnt := BANCO->(RECNO()) IF BANCO->(DBSEEK( COD )) MsgBeep() MsgStop("El Código del Banco ya se encuentra Registrado" + CHR(13)+; "Código: "+BANCO->BCO_CODIGO,"Inclusión Inválida ...
Hay alguna manera de sacarle el sonido (un Msgbeep(),creo) a los rbbuton cuando se usan las teclas aceleradoras, no sucede con el click del raton, a la clase trbutton ya le saque el MsgBeep que tiene pero sigue haciendo el sonido con las teclas aceleradoras..