FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error BASE/1070 Argument Error == en oGet:bkeychar
Posts: 400
Joined: Tue Oct 16, 2007 05:51 PM
Error BASE/1070 Argument Error == en oGet:bkeychar
Posted: Wed Dec 26, 2007 07: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 ) }

Saludos,
Regards,

Albeiro Valencia
www.avcsistemas.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Error BASE/1070 Argument Error == en oGet:bkeychar
Posted: 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

Continue the discussion