xbrowse display

Post Reply
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

xbrowse display

Post by Richard Chidiak »

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
User avatar
Eugeniusz Owsiak
Posts: 60
Joined: Fri Oct 07, 2005 5:38 am
Location: Poland

Post by Eugeniusz Owsiak »

try

oBrw:refresh(.T.)

regards
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Post by Armando »

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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Richard,

Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply