Page 1 of 1

xbrowse display

Posted: Wed Jan 30, 2008 9:44 am
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

Posted: Wed Jan 30, 2008 1:58 pm
by Eugeniusz Owsiak
try

oBrw:refresh(.T.)

regards

Posted: Wed Jan 30, 2008 2:17 pm
by Richard Chidiak
Thanks for the suggestion but it does not fix the display. Same result,

Richard

Posted: Wed Jan 30, 2008 3:22 pm
by Armando
Richard:

Perhaps, oBrw:UpStable()

Regards

Posted: Wed Jan 30, 2008 3:29 pm
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

Posted: Thu Feb 28, 2008 9:33 am
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

Posted: Thu Feb 28, 2008 12:31 pm
by Antonio Linares
Richard,

Thanks! :-)