FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Updating xBrowse
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Updating xBrowse
Posted: Wed Mar 21, 2012 02:48 PM
Hello!
I will update a xBrowse (adding data in a array) without changing the selected row. When i use ::setarray(aNewarray) the bar go to top.
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Updating xBrowse
Posted: Wed Mar 21, 2012 04:06 PM

Günther,

I think, that keeps the Row-position :

ACTION ( nBrwRow := oBrw:nRowSel, ; // save Row-pos
oBrw:setarray(aBRWSELECT), ;
aBrw:SetPos( nBrwRow ) ) // set Row-pos

Best Regards
Uwe :?:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Updating xBrowse
Posted: Thu Mar 22, 2012 02:58 PM

Suggested for replacing with a new Array

oBrw:aArrayData := aNewArray
oBrw:Refresh()

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion