Problemas con resolucion y xBrowse

Problemas con resolucion y xBrowse

Postby JoseAlvarez » Sat May 04, 2024 4:31 pm

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?
"Los errores en programación, siempre están entre la silla y el teclado..."

Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin

Carora, Estado Lara, Venezuela.
User avatar
JoseAlvarez
 
Posts: 738
Joined: Sun Nov 09, 2014 5:01 pm

Re: Problemas con resolucion y xBrowse

Postby Enrico Maria Giordano » Sat May 04, 2024 5:48 pm

Jose, can we see how you defined the xBrowse columns?
User avatar
Enrico Maria Giordano
 
Posts: 8355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Problemas con resolucion y xBrowse

Postby Armando » Sun May 05, 2024 12:48 am

José:

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

Code: Select all  Expand view

:nStretchCol      := STRETCHCOL_WIDEST
 


Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3070
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Problemas con resolucion y xBrowse

Postby JoseAlvarez » Sun May 05, 2024 5:03 pm

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
"Los errores en programación, siempre están entre la silla y el teclado..."

Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin

Carora, Estado Lara, Venezuela.
User avatar
JoseAlvarez
 
Posts: 738
Joined: Sun Nov 09, 2014 5:01 pm

Re: Problemas con resolucion y xBrowse

Postby Enrico Maria Giordano » Sun May 05, 2024 5:39 pm

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.
User avatar
Enrico Maria Giordano
 
Posts: 8355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Problemas con resolucion y xBrowse

Postby JoseAlvarez » Sun May 05, 2024 5:45 pm

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.
"Los errores en programación, siempre están entre la silla y el teclado..."

Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin

Carora, Estado Lara, Venezuela.
User avatar
JoseAlvarez
 
Posts: 738
Joined: Sun Nov 09, 2014 5:01 pm

Re: Problemas con resolucion y xBrowse

Postby Enrico Maria Giordano » Sun May 05, 2024 5:53 pm

Then, I don't understand why did you expect any datas on them.
User avatar
Enrico Maria Giordano
 
Posts: 8355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Problemas con resolucion y xBrowse

Postby JoseAlvarez » Sun May 05, 2024 6:26 pm

Enrico Maria Giordano wrote:Then, I don't understand why did you expect any datas on them.


It can be image, letter, or number.
"Los errores en programación, siempre están entre la silla y el teclado..."

Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin

Carora, Estado Lara, Venezuela.
User avatar
JoseAlvarez
 
Posts: 738
Joined: Sun Nov 09, 2014 5:01 pm

Re: Problemas con resolucion y xBrowse

Postby Enrico Maria Giordano » Sun May 05, 2024 6:48 pm

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.
User avatar
Enrico Maria Giordano
 
Posts: 8355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Problemas con resolucion y xBrowse

Postby JoseAlvarez » Sun May 05, 2024 6:54 pm

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.
"Los errores en programación, siempre están entre la silla y el teclado..."

Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin

Carora, Estado Lara, Venezuela.
User avatar
JoseAlvarez
 
Posts: 738
Joined: Sun Nov 09, 2014 5:01 pm


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 30 guests