Extraño error... Antonio, una mirada porfa..

Extraño error... Antonio, una mirada porfa..

Postby Willi Quintana » Sun Nov 30, 2014 12:23 am

Hola Antonio,,, me salio este error:

.....
Error description: Error BASE/1082 Error de argumento: -
Args:
[ 1] = U
[ 2] = N 198

Stack Calls
===========
Called from: .\source\classes\TCALENDA.PRG => TCALENDAR:LBUTTONUP( 613 )
Called from: .\source\classes\CONTROL.PRG => TCALENDAR:HANDLEEVENT( 1714 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3177 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 990 )
Called from: D:\PRGS\SVITEX_E\PRG\svite.prg => MAIN( 416 )
...
..
User avatar
Willi Quintana
 
Posts: 1020
Joined: Sun Oct 09, 2005 10:41 pm
Location: Cusco - Perú

Re: Extraño error... Antonio, una mirada porfa..

Postby Antonio Linares » Sun Nov 30, 2014 12:55 am

Willi,

Por favor muestra aqui el código que tienes en esta línea:

TCALENDAR:LBUTTONUP( 613 )
regards, saludos

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

Re: Extraño error... Antonio, una mirada porfa..

Postby Willi Quintana » Sun Nov 30, 2014 2:14 am

Hola Antonio... aquí va:

Code: Select all  Expand view  RUN

//----------------------------------------------------------------------------//

METHOD LButtonUp( nRow, nCol, nFlags ) CLASS TCalendar

   local nPos

   if ::lDrag
      RETURN Super:LButtonUp( nRow, nCol, nFlags )
   endif

   if ::lCaptured

      ::lCaptured = .f.
      ReleaseCapture()
     
      ::lBtnUp := .T.

      IF ! ::lDblClick
         ::lDblClick = .T.
         ::oTimerDbl:Activate()
      ELSE
IF IsOverDay( ::hWnd, nRow, nCol ) .AND. Abs( ::nRowDbl - nRow  ) <= HEIGHTDBLCLICK .AND. Abs( ::nColDbl - nCol ) <= WIDTHDBLCLICK // línea 613
            MsgBeep()
            IF ::bLDblClick != NIL
               ::oTimerDbl:Deactivate()
               Eval( ::bLDblClick, nRow, nCol )
            ENDIF
         ENDIF      
         ::lDblClick = .F.
      ENDIF


   endif

   ::Change()

   Super:LButtonUp( nRow, nCol, nFlags )

RETURN NIL



 
User avatar
Willi Quintana
 
Posts: 1020
Joined: Sun Oct 09, 2005 10:41 pm
Location: Cusco - Perú

Re: Extraño error... Antonio, una mirada porfa..

Postby Antonio Linares » Sun Nov 30, 2014 7:10 am

Willi,

Localiza esta línea al principio de la Clase TCalendar y modificala asi:

DATA nRowDbl, nColDbl INIT 0
regards, saludos

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

Re: Extraño error... Antonio, una mirada porfa..

Postby Willi Quintana » Sun Nov 30, 2014 7:36 pm

Gracias sr..
User avatar
Willi Quintana
 
Posts: 1020
Joined: Sun Oct 09, 2005 10:41 pm
Location: Cusco - Perú


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 42 guests