Error en la clase ssay Cambie el return y Funciona OK

Error en la clase ssay Cambie el return y Funciona OK

Postby J. Ernesto » Mon Apr 02, 2018 8:33 pm

Al compilar con versiones recientes de fivewin (1709, 1711) genera un error el la clase SSAY

Error description: Error BASE/1003 Variable does not exist: SUPER


Code: Select all  Expand view  RUN


 METHOD Initiate    ( hDlg )                   INLINE   Super:Initiate ( hDlg ), ::Default ()

 


Se agradece una ayuda por favor

Gracias
Last edited by J. Ernesto on Mon Apr 02, 2018 10:55 pm, edited 1 time in total.
J. Ernesto Pinto Q.
Fwh_x64 2407 + BCC++_x64 7_70__6_72 + Harbour 3.20 + LopeEdit 5.8 + UEstudio 26.0
jepsys@hotmail.com, jepsys@gmail.com, jepsys@yahoo.com
User avatar
J. Ernesto
 
Posts: 161
Joined: Tue Feb 03, 2009 10:08 pm
Location: Bogotá D.C. Colombia

Re: Error en la clase ssay

Postby cnavarro » Mon Apr 02, 2018 9:31 pm

Cambia por

::Super:Initiate( ...
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Error en la clase ssay

Postby J. Ernesto » Mon Apr 02, 2018 10:47 pm

Mira ahora dice:

Time from start: 0 hours 0 mins 0 secs
Error occurred at: 04/02/18, 17:46:49
Error description: Error BASE/1003 Variable does not exist: SUPER

Stack Calls
===========
Called from: .\_a_say_dinamico.prg => TDSAY:HANDLEEVENT( 189 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3368 )
Called from: => SENDMESSAGE( 0 )
Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW( 590 )
Called from: .\source\classes\WINDOW.PRG => TDSAY:SENDMSG( 0 )
Called from: .\source\classes\WINDOW.PRG => TDSAY:SETFONT( 2919 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:INITIATE( 403 )
Called from: .\_a_say_dinamico.prg => (b)TDSAY( 56 )
Called from: .\_a_say_dinamico.prg => TDSAY:INITIATE( 0 )
Called from: => __OBJSENDMSG( 0 )
Called from: .\source\function\HARBOUR.PRG => OSEND( 291 )
Called from: .\source\function\HARBOUR.PRG => ASEND( 259 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE( 657 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 908 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: .\_a_say_dinamico.prg => MAIN( 37 )
J. Ernesto Pinto Q.
Fwh_x64 2407 + BCC++_x64 7_70__6_72 + Harbour 3.20 + LopeEdit 5.8 + UEstudio 26.0
jepsys@hotmail.com, jepsys@gmail.com, jepsys@yahoo.com
User avatar
J. Ernesto
 
Posts: 161
Joined: Tue Feb 03, 2009 10:08 pm
Location: Bogotá D.C. Colombia

Re: Error en la clase ssay

Postby J. Ernesto » Mon Apr 02, 2018 10:54 pm

ahora dice:
Time from start: 0 hours 0 mins 6 secs
Error occurred at: 04/02/18, 17:50:40
Error description: Error BASE/1003 Variable does not exist: SUPER

Stack Calls
===========
Called from: .\_a_say_dinamico.prg => TDSAY:DESTROY( 260 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 )
Called from: .\_a_say_dinamico.prg => TDSAY:HANDLEEVENT( 189 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3368 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: .\_a_say_dinamico.prg => MAIN( 37 )


Luego entonces cambie el return de los metodos

Return ::Super:HandleEvent ( nMsg, nWParam, nLParam )
y

Return ::Super:Destroy ()


y ya FUNCIONA

Gracias
J. Ernesto Pinto Q.
Fwh_x64 2407 + BCC++_x64 7_70__6_72 + Harbour 3.20 + LopeEdit 5.8 + UEstudio 26.0
jepsys@hotmail.com, jepsys@gmail.com, jepsys@yahoo.com
User avatar
J. Ernesto
 
Posts: 161
Joined: Tue Feb 03, 2009 10:08 pm
Location: Bogotá D.C. Colombia

Re: Error en la clase ssay Cambie el return y Funciona OK

Postby cnavarro » Mon Apr 02, 2018 10:55 pm

Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: cmsoft and 73 guests