XBROWSE TREE Refresh problem

XBROWSE TREE Refresh problem

Postby Horizon » Wed Mar 17, 2021 9:06 am

Hi,

I setup xbrowse like below.

Code: Select all  Expand view
    oBrw:SetTree( 3 )
    oBrw:oTree:OpenAll()
  oBrw:aCols[ 1 ]:AddBitmap( { FWDArrow(), FWRArrow(), GetTreeBmps()[ 2 ] } )


It is executed perfectly. But the data is changed later. How Can I refresh tree again in xbrowse.

I tried obrw:refresh(). I does not work.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1301
Joined: Fri May 23, 2008 1:33 pm

Re: XBROWSE TREE Refresh problem

Postby nageswaragunupudi » Wed Mar 17, 2021 10:28 am

If you do not change data in the first 3 fields but change data in the other fields you can refresh the data.
There should be no problem at all.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10465
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XBROWSE TREE Refresh problem

Postby Horizon » Wed Mar 17, 2021 11:57 am

nageswaragunupudi wrote:If you do not change data in the first 3 fields but change data in the other fields you can refresh the data.
There should be no problem at all.


Hi Mr. Rao,

I changed ones of the first 3 fields and want to refresh the tree.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1301
Joined: Fri May 23, 2008 1:33 pm

Re: XBROWSE TREE Refresh problem

Postby nageswaragunupudi » Wed Mar 17, 2021 1:12 pm

This is actually intended for cases where the first n fields would not be modified.
Anyway please try to change oBrw:oTreeItem:cPrompt also when you modify 3rd field.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10465
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 56 guests