ERROR EN XBROWSE 17.09

ERROR EN XBROWSE 17.09

Postby Ariel » Mon Oct 16, 2017 12:23 pm

Hola,
el nuevo código usa simpre ALLTRIM () y a veces se necesitan los espacio de la izquierda

the new code uses simpre ALLTRIM () and sometimes you need the left space.


Current code
Code: Select all  Expand view

METHOD PaintCell() LINE 12574
....
   //----------------------------------------------------------------------------//
   // READ DATA
   //----------------------------------------------------------------------------//
   cData    := AllTrim( cValToChar( ::StrData ) )
   if isrtf( cData )
      cData := "<RichText>"
   elseif isGtf( cData )
      cData := GtfToTxt( cData )
   endif
 


Solution, old code:
Code: Select all  Expand view

METHOD PaintCell() LINE 12574
....
   //----------------------------------------------------------------------------//
   // READ DATA
   //----------------------------------------------------------------------------//
   // New code always uses ALLTRIM (), old code no.
   if ::bStrData != nil //.and. !::hChecked
      cData := Eval( ::bStrData )
      if ValType( cData ) != 'C'
         cData := cValToChar( cData )
      endif
      if ! Empty( ::nDataStrAlign )
         cData := AllTrim( cData )
      endif
      if isrtf( cData )
         cData := "<RichText>"
      elseif isGtf( cData )
         cData := GtfToTxt( cData )
      endif
   else
      cData := ""
   endif

 


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

Re: ERROR EN XBROWSE 17.09

Postby Ariel » Mon Oct 23, 2017 2:02 pm

Alguna nov???
Ariel
 
Posts: 374
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Re: ERROR EN XBROWSE 17.09

Postby Antonio Linares » Tue Oct 24, 2017 8:07 am

Lo estamos revisando, gracias
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41208
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ERROR EN XBROWSE 17.09

Postby nageswaragunupudi » Fri Nov 03, 2017 2:34 am

Implemented in 17.10 to be released
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10208
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 12 guests