Nuevo FWH 18.07

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37485
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Nuevo FWH 18.07

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Nuevo FWH 18.07

Post by nageswaragunupudi »

Please download revised build.
Regards

G. N. Rao.
Hyderabad, India
Ariel
Posts: 309
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

BUG !!! Re: Nuevo FWH 18.07

Post by Ariel »

Hola,

Los controles COMBOBOX, CHECKBOX ( y no se si otros tambien ), no evaluan el codeblock bWHEN cuando cambia en ejecucion. de momento lo he solucionado modificando control.prg (gracias a la ayuda de Cristobal), en el metodo :

METHOD ForWhen() CLASS TControl
/*
#ifdef REVN1807
::oContainerWnd:AEvalWhen()
#else
*/
::oWnd:AEvalWhen()
//#endif

El ambiente en que me sucede es : Ventana MDI - Ventana MDICHILD - DIALOG dentro de la MDICHILD con sus controles.
Comentando esas lineas funciona correctamente.

Saludos.
User avatar
Antonio Linares
Site Admin
Posts: 37485
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Nuevo FWH 18.07

Post by Antonio Linares »

Ariel,

Muchas gracias por tu ayuda y tu paciencia en la resolución de este bug
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Nuevo FWH 18.07

Post by nageswaragunupudi »

Mr Ariel

Thank you very much for bringing this important bug to our notice.
Los controles COMBOBOX, CHECKBOX ( y no se si otros tambien ), no evaluan el codeblock bWHEN cuando cambia en ejecucion
This bug effects all other controls also in your situation.
de momento lo he solucionado modificando control.prg
Glad you adopted this workaround. A simpler and more straightforward workaround is to comment out the #define REVN1807 at line 4 of control.prg like this

Code: Select all

// #define REVN1807
 
This is the purpose for which we provided this define.
El ambiente en que me sucede es : Ventana MDI - Ventana MDICHILD - DIALOG dentro de la MDICHILD con sus controles.
Comentando esas lineas funciona correctamente.
This bug affects not only dialogs set in mdichild windows but controls created directly in mdichild windows also. In other words, this bug affects all mdichild windows.

We extremely regret the inconvenience.

We have now fixed the bug finally.
We shall be glad if you can test the fix and confirm if it solves your issue.

Please take the original unmodified control.prg (without the above temporary change).

CORRECT FIX:
Please locate this at line 946:

Code: Select all

      do while ::hContainerWnd:WinStyle( WS_CHILD ) .and. ::hContainerWnd:oWnd != nil
 
Please replace this line with

Code: Select all

      do while ::hContainerWnd:WinStyle( WS_CHILD ) .and. !::hContainerWnd:IsKindOf( "TMDICHILD" ) .and. ::hContainerWnd:oWnd != nil
 
We will highly appreciate your feedback.
Regards

G. N. Rao.
Hyderabad, India
Ariel
Posts: 309
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Re: Nuevo FWH 18.07

Post by Ariel »

Mr Rao,

Tomando el control.prg original, NO funciona poniendo :
do while ::hContainerWnd:WinStyle( WS_CHILD ) .and. !::hContainerWnd:IsKindOf( "TMDICHILD" ) .and. ::hContainerWnd:oWnd != nil
en linea 946.

Saludos.
Ariel
Posts: 309
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Re: Nuevo FWH 18.07

Post by Ariel »

Mr. Rao,

alguna novedad sobre el tema???
Post Reply