oFld:Update doesn't refresh the xbrowse

oFld:Update doesn't refresh the xbrowse

Postby Marco Turco » Tue Jan 04, 2011 4:07 pm

Hi all,
it seems that having a folder with an xbrowse inside and changing a value into the xbrowse
then the xbrowse is not refreshed using the oFld:Update method()
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: oFld:Update doesn't refresh the xbrowse

Postby James Bott » Tue Jan 04, 2011 5:00 pm

Marco,

Did you specify the OF clause of the browse?

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: oFld:Update doesn't refresh the xbrowse

Postby Marco Turco » Tue Jan 04, 2011 5:30 pm

Yes, the problem appears on xbrowse over a folder,
anyway I will try to make a self-contained.....
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: oFld:Update doesn't refresh the xbrowse

Postby nageswaragunupudi » Tue Jan 04, 2011 5:33 pm

Mr. Marco

Please assign oBrw:lUpdate := .t. Also as Mr. James suggested, make sure you have defined xbrowse as "of oFld".

If you have used the clause "UPDATE" while defining XBrowse, at present, this clause is only dummy and is not really setting oBrw:lUpdate := .t.. Let us expect this clause will work correctly from the next release of FWH onwards.
Regards

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

Re: oFld:Update doesn't refresh the xbrowse

Postby Marco Turco » Tue Jan 04, 2011 6:07 pm

Ok, solved. I didn't know that the "UPDATE" clause was a dummy, now with oFld:lUpdate=.t. all runs fine. Thanks for your quick support, very appreciated.
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 51 guests