Nuevo FWH 18.07
- Antonio Linares
- Site Admin
- Posts: 37485
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
BUG !!! Re: Nuevo FWH 18.07
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.
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.
- Antonio Linares
- Site Admin
- Posts: 37485
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Nuevo FWH 18.07
Ariel,
Muchas gracias por tu ayuda y tu paciencia en la resolución de este bug
Muchas gracias por tu ayuda y tu paciencia en la resolución de este bug
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Nuevo FWH 18.07
Mr Ariel
Thank you very much for bringing this important bug to our notice.
This is the purpose for which we provided this define.
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:
Please replace this line with
We will highly appreciate your feedback.
Thank you very much for bringing this important bug to our notice.
This bug effects all other controls also in your situation.Los controles COMBOBOX, CHECKBOX ( y no se si otros tambien ), no evaluan el codeblock bWHEN cuando cambia en ejecucion
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 thisde momento lo he solucionado modificando control.prg
Code: Select all
// #define REVN1807
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.El ambiente en que me sucede es : Ventana MDI - Ventana MDICHILD - DIALOG dentro de la MDICHILD con sus controles.
Comentando esas lineas funciona correctamente.
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
Code: Select all
do while ::hContainerWnd:WinStyle( WS_CHILD ) .and. !::hContainerWnd:IsKindOf( "TMDICHILD" ) .and. ::hContainerWnd:oWnd != nil
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Nuevo FWH 18.07
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.
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.
Re: Nuevo FWH 18.07
Mr. Rao,
alguna novedad sobre el tema???
alguna novedad sobre el tema???