FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse display
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
xbrowse display
Posted: Wed Jan 30, 2008 09:44 AM

Hello

While inputing dbf data with a xbrowse, during the first few lines only the last line is shown after obrw:refresh() obrw:paint() or any other method, When the total number of rows is >4 or 5 the whole screen is displayed.
In other browses, the method upstable corrected this behaviour, is there any workaround with xbrowse ? or maybe i am missing something.

Thanks for the help,

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 60
Joined: Fri Oct 07, 2005 05:38 AM
xbrowse display
Posted: Wed Jan 30, 2008 01:58 PM

try

oBrw:refresh(.T.)

regards

Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
xbrowse display
Posted: Wed Jan 30, 2008 02:17 PM

Thanks for the suggestion but it does not fix the display. Same result,

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
xbrowse display
Posted: Wed Jan 30, 2008 03:22 PM

Richard:

Perhaps, oBrw:UpStable()

Regards

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: 946
Joined: Thu Oct 06, 2005 07:05 PM
xbrowse display
Posted: Wed Jan 30, 2008 03:29 PM

Armando

UpStable() method is not available for xbrowse, i tried to adapt from wbrowse but without success yet, still working on it,

Regards

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
xbrowse display
Posted: Thu Feb 28, 2008 09:33 AM

Just to keep updated on this issue, i found a solution

Adding after each append

obrw:gobottom() // this is making the difference
obrw:Refresh()

The painting is ok while appending records,

HTH

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
xbrowse display
Posted: Thu Feb 28, 2008 12:31 PM

Richard,

Thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion