Dear all.
Why does tBrowseMod not losing its focus when in edit mode, when exiting it with tab or using the mouse on another control? It doesn't CancelEdit...
See example
tBrowseMod killfocus?
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
- ignacio
- Site Admin
- Mensajes: 9257
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Re: tBrowseMod killfocus?
Hello,
I believe this code will do the job:
Module BrwColMod.prg, class: TEditForGrid, line (aprox): 695
It will be available on next Xailer release.
Regards,
I believe this code will do the job:
Código: Seleccionar todo
METHOD WMKillFocus( hCtl ) INLINE ( ::Super:WMKillFocus( hCtl ),;
IIf( GetParent( hCtl ) != ::oParent:Handle,;
::oBrowse:CancelEdit(), ) )
It will be available on next Xailer release.
Regards,
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
Re: tBrowseMod killfocus?
Hi, that does not working when using beGET_LISTBOX, beGET_CALENDAR etc.
- ignacio
- Site Admin
- Mensajes: 9257
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Re: tBrowseMod killfocus?
Hi,
It has been necessary to make more important modifications. With this message I attach the modified code. If you can try it, I would appreciate it.
Regards,
It has been necessary to make more important modifications. With this message I attach the modified code. If you can try it, I would appreciate it.
Regards,
- Adjuntos
-
- BrwColMod.zip
- (6.02 KiB) Descargado 143 veces
-
- Mensajes: 126
- Registrado: Lun Mar 29, 2010 10:24 am
Re: tBrowseMod killfocus?
Hi! That appears to work
- ignacio
- Site Admin
- Mensajes: 9257
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Re: tBrowseMod killfocus?
Hi,
Great! Thank you for the feedback.
Regards,
Great! Thank you for the feedback.
Regards,