FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Problemas con resolucion y xBrowse
Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Problemas con resolucion y xBrowse
Posted: Sat May 04, 2024 04: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




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



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.
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Problemas con resolucion y xBrowse
Posted: Sat May 04, 2024 05:48 PM

Jose, can we see how you defined the xBrowse columns?

Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
Re: Problemas con resolucion y xBrowse
Posted: Sun May 05, 2024 12:48 AM
Jos茅:

Se me ocurre, solo por probar, utiliza el ajuste de columnas
Code (fw): Select all Collapse
: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
Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problemas con resolucion y xBrowse
Posted: Sun May 05, 2024 05:03 PM
Enrico Maria Giordano wrote:Jose, can we see how you defined the xBrowse columns?
Hola enrico, saludos.

Este es el codigo:
Code (fw): Select all Collapse
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.
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Problemas con resolucion y xBrowse
Posted: Sun May 05, 2024 05: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.

Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problemas con resolucion y xBrowse
Posted: Sun May 05, 2024 05: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.
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Problemas con resolucion y xBrowse
Posted: Sun May 05, 2024 05:53 PM

Then, I don't understand why did you expect any datas on them.

Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problemas con resolucion y xBrowse
Posted: Sun May 05, 2024 06: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.
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Problemas con resolucion y xBrowse
Posted: Sun May 05, 2024 06: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.

Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problemas con resolucion y xBrowse
Posted: Sun May 05, 2024 06: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.

Continue the discussion