Error BASE/1070 Argument Error == en oGet:bkeychar

Error BASE/1070 Argument Error == en oGet:bkeychar

Postby albeiroval » Wed Dec 26, 2007 7:10 pm

Maestro Antonio,

Tengo este problema cuando evaluo el bKeychar me pruduce el siguiente error : error BASE/1070 == ; esto es cuando retorna de ejecutar la funcion oGetTipo( oGet ) del mensaje oGet:bKeyChar

De antemano muchas gracias.


@ 06, 01 SAY "TIPO ";
FONT oFont;
SIZE 040, 060;
OF oDlg;
GET oGet;
VAR aButtom[ _BUTOMTIPO ];
FONT oFont;
PICTURE "999";
OF oDlg
oGet:bKeyChar := {|| oGetTipo( oGet ) }
User avatar
albeiroval
 
Posts: 361
Joined: Tue Oct 16, 2007 5:51 pm
Location: Barquisimeto - Venezuela

Postby Antonio Linares » Wed Dec 26, 2007 11:23 pm

Ese error se detectó y ha sido corregido ya. De momento puedes hacer:

oGet:bKeyChar = {|| oGetTipo( oGet ), 1 }

Si devuelves un cero, no se procesaran las teclas pulsadas:

oGet:bKeyChar = {| nKey | If( nKey == K_..., ( ..., 0 ), 1 ) }
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 49 guests