Page 1 of 1

Problemas con resolucion y xBrowse

PostPosted: Sat May 04, 2024 4:31 pm
by JoseAlvarez
Amigos,

Al momento de desarrollar un sistema, lo hago con una resolucion determinada. Por supuesto todo me queda tal como quiero.

Se me esta presentando un problema con el xBrowse y algunos controles como el ComboBox, que cuando el usuario usa una resolucion mayor, se ven mal.

Pongo el ejemplo del xBrowse, inicialmente con 1366 x 768


Image

y con una mayor resolucion, muestra otras columnas en blanco y a veces con datos.

Image

a que se debe? como puede corregirse?

Re: Problemas con resolucion y xBrowse

PostPosted: Sat May 04, 2024 5:48 pm
by Enrico Maria Giordano
Jose, can we see how you defined the xBrowse columns?

Re: Problemas con resolucion y xBrowse

PostPosted: Sun May 05, 2024 12:48 am
by Armando
José:

Se me ocurre, solo por probar, utiliza el ajuste de columnas

Code: Select all  Expand view

:nStretchCol      := STRETCHCOL_WIDEST
 


Saludos

Re: Problemas con resolucion y xBrowse

PostPosted: Sun May 05, 2024 5:03 pm
by JoseAlvarez
Enrico Maria Giordano wrote:Jose, can we see how you defined the xBrowse columns?


Hola enrico, saludos.

Este es el codigo:

Code: Select all  Expand view
Redefine xBrowse oBrwFac Id 4007  DATASOURCE aFacturas AUTOCOLS ;
                                  COLUMNS    cRifCliente, cCliente , cNumeroDoc, dEmision, dVcto, nDiasVcto, nFacMonto, ;
                                             nFacPagos , nFacSaldo, cConcepto,nCodigoCli,nFacCodigoCli, nEmail ;
                                  HEADERS    _cIdEmpresa, "Cliente", "N# Doc. ","Emisión", "Vencto.", "Dias Vcdo.", "Monto "+_cSignoMoneda ,;
                                                          "Pagos", "Saldo", "Concepto","","","" ;
                                 FIELDSIZES   90, 250, 70, 75, 90, 75, 100, 100, 100, 175,20,20,50   ;
                                 PICTURE      nil, nil, nil, nil, nil, nil, '@E 9,999,999,999.99', '@E 9,999,999,999.99','@E 9,999,999,999.99',
                                              nil, nil,nil, nil ;
                                 JUSTIFY    AL_LEFT, AL_LEFT, AL_CENTER, AL_CENTER, AL_CENTER, AL_CENTER,;
                                            AL_RIGHT, AL_RIGHT, AL_RIGHT, AL_LEFT, AL_LEFT, AL_CENTER, AL_LEFT  ;
                                 CELL LINES  FASTEDIT FOOTERS of oDlg

Re: Problemas con resolucion y xBrowse

PostPosted: Sun May 05, 2024 5:39 pm
by Enrico Maria Giordano
Are the last three fields of numeric type? If yes, why are you using a NIL picture for them? Only a stab in the dark.

Re: Problemas con resolucion y xBrowse

PostPosted: Sun May 05, 2024 5:45 pm
by JoseAlvarez
Dear Enrico.

I need those columns empty because later I will fill them with data according to the user's operations. This data is always invisible to the user. They are for internal use of the software.

Estimado Enrico:

Esas columnas las necesito vacías porque luego las ire llenando con datos según las operaciones del usuario. Esos datos siempre son invisibles al usuario. Son de uso interno del software.

Re: Problemas con resolucion y xBrowse

PostPosted: Sun May 05, 2024 5:53 pm
by Enrico Maria Giordano
Then, I don't understand why did you expect any datas on them.

Re: Problemas con resolucion y xBrowse

PostPosted: Sun May 05, 2024 6:26 pm
by JoseAlvarez
Enrico Maria Giordano wrote:Then, I don't understand why did you expect any datas on them.


It can be image, letter, or number.

Re: Problemas con resolucion y xBrowse

PostPosted: Sun May 05, 2024 6:48 pm
by Enrico Maria Giordano
Are you sure there are any datas on that fields? If yes, I can't imagine why they are not shown in the xBrowse, sorry.

Re: Problemas con resolucion y xBrowse

PostPosted: Sun May 05, 2024 6:54 pm
by JoseAlvarez
Enrico Maria Giordano wrote:Are you sure there are any datas on that fields? If yes, I can't imagine why they are not shown in the xBrowse, sorry.


Don't worry, is ok.

Thanks my friend.