por que al ejecutar el programa me tira este error:
Error description: Error BASE/1004 Class: 'NIL' has no exported method: SETFOCUS
Args:
Stack Calls
===========
Called from SETFOCUS(0)
Called from (b)MAIN(118)
Called from TDIALOG:INITIATE(0)
Called from TDIALOG:HANDLEEVENT(0)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(0)
Called from MAIN(118)
- Code: Select all Expand view RUN
oDlg:= oDlgEnlace( oBrw, oTextos, oBtns, oBmp, oFuentes )
//----------( Acción del botón )----------
ACTIVATE DIALOG oDlg CENTERED ON init (;
oBrw: SetFocus(),;
oBrw: ResetBarPos(),;
oBrw: UpStable(),;
oBrw: Reset(),;
oBrw: Refresh(),;
oBrw: gobottom(),;
BuildTimer( IF ( aConfiguracion[ 01 ] < 17, 0x64, 0xB4 ),;
aConfiguracion, aProductos, aSurtidores, aSetVars, oDlg );
)
DBCloseAll()
AEval( oFuentes, { | aFuentes | aFuentes:END( ) } )
RETURN ( NIL )
//------------------------------------------------------------------------------
STATIC FUNCTION BuildTimer( nComando, aConfiguracion, aProductos, aSurtidores, aSetVars, oDlg )
MEMVAR oTimer
DEFINE Timer oTimer Interval Val( aSetVars[ 03 ] );
Action ( NuevasCargas( nComando, aConfiguracion, aProductos, aSurtidores, aSetVars ) ) OF oDlg
ACTIVATE timer oTimer
RETURN ( NIL )
//------------------------------------------------------------------------------
Gracias.