FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour xBrowse y texto Hotkey (SOLUCIONADO)
Posts: 85
Joined: Thu Oct 14, 2010 03:26 AM
xBrowse y texto Hotkey (SOLUCIONADO)
Posted: Wed Jul 01, 2015 04:29 PM

Buenos Dias Amigos del Foro:
tengo una Database con el campo NOMBRE donde aparece el texto "Procter & Gamble"
xBrowse lo muestra como "Procter _Gamble"
deduzco que intenta hacer un hotkey leyendo el signo &
pero el campo es un texto simple que debe leerse como tal.
Que debo hacer para desactivar ésta característica y presentar el texto tal como es?
Muchas gracias por su atención
Julio César Gómez Cortéz
Godryc Experiencias
Lima Perú

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse y texto Hotkey
Posted: Sun Jul 05, 2015 05:54 AM

Please let us know which version of FWH you are using.

The text is displayed correctly in the recent versions.

Regards



G. N. Rao.

Hyderabad, India
Posts: 85
Joined: Thu Oct 14, 2010 03:26 AM
Re: xBrowse y texto Hotkey
Posted: Mon Jul 06, 2015 05:00 AM

ok nageswaragunupudi thanks for your response. I was using the 6.12 version of fwh wich is very old.

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse y texto Hotkey
Posted: Mon Jul 06, 2015 08:48 AM

I do not have the sources of 6.12. I can not tell you the exact lines to make the modification. But I try to guide you.

In xbrowse.prg, search for METHOD DefStyle( ... )
In the method you may see a line of code which looks something like
nStyle := nOr( DT_MODIFYSTRING,....)
Please add DT_NOPREFIX also in that nOr ( ... )

Regards



G. N. Rao.

Hyderabad, India
Posts: 85
Joined: Thu Oct 14, 2010 03:26 AM
Re: xBrowse y texto Hotkey
Posted: Tue Jul 07, 2015 04:53 AM

Hyderabad, again, thanks ... I tried your solution, and it works well. Solutionated !

Continue the discussion