Page 1 of 1

xBrowse evitar el dialogo popup al capturar un string largo

PostPosted: Sat Aug 28, 2021 5:01 pm
by Joel Andujo
Buen día foro, tengo un detalle con xbrowse, al capturar en una columna con un varchar(200), en automático se abre una ventana pop para la captura del texto, como si fuera un memo;
Se puede evitar la ventana, es decir, que la captura sea directamente sobre la columna del xbrowse ?

Joel Andujo
de antemano gracias
FWH 21.04 xHarbour

Re: xBrowse evitar el dialogo popup al capturar un string largo

PostPosted: Sat Aug 28, 2021 5:40 pm
by nageswaragunupudi
Please set
Code: Select all  Expand view

oCol:cDataType := "C"
oCol:nDataLen  := 200
 


Are you using ADO or Dolphin?

Re: xBrowse evitar el dialogo popup al capturar un string largo

PostPosted: Sat Aug 28, 2021 6:16 pm
by Joel Andujo
Excellent Mr. Nages, thank you !!
I use ADO.

have a nice day
Joel Andujo

Re: xBrowse evitar el dialogo popup al capturar un string largo

PostPosted: Sun Aug 29, 2021 1:39 am
by nageswaragunupudi
Please also set:
Code: Select all  Expand view
           oCol:bEditValue   := { |x| If( x != nil, ::oRs:Fields( cnCol ):Value := Trim( x ), ;
                                    PadR( IfNil( ::oRs:Fields( cnCol ):Value, "" ), 200) ) }
 


At present, xbrowse treats any VarChar field with length >100 as memo and length <= 100 as Char.
The limit of 100 is now hard coded in xbrowse.
In the next version, we will make this value programmer configurable.

Re: xBrowse evitar el dialogo popup al capturar un string largo

PostPosted: Tue Aug 31, 2021 3:52 pm
by Joel Andujo
Okay Mr. Nages, I make the change and I look forward to the next update.

Regards.
Joel Andujo