Page 1 of 1

Xbrowse error

Posted: Mon Feb 05, 2007 12:50 am
by Silvio
when I Dblclick on a record the program go out !!!!
and not create error.log
try it please www.nonsolosport.net/test_xbrowse.zip



---------------------

Posted: Mon Feb 05, 2007 11:11 am
by Otto
oBrw:bChange := { || if (lChange=.t.,( lChange=.f., RefreshCont("QUOTE",cSocio,@lChange),oBrw:GoTop(),oBrw:refresh() ), ) }



static FUNCTION RefreshCont(cdbf,cSocio,lChange)
cKey:=cSocio

(cdbf)->(OrdScope(0,cKey))

(cdbf)->(OrdScope(1,cKey))
sysrefresh()
lChange:=.f.
return NIL

Posted: Mon Feb 05, 2007 11:25 am
by Silvio
Now I can see the records but then the program go out and it not make error.log

Posted: Mon Feb 05, 2007 11:52 am
by Silvio
perhaps there is an error on this functions

oBrw:bGoTop :={|| GoToTop(Alias(),csocio)}
oBrw:bGoBottom:={|| GoToBot(Alias(),csocio)}
oBrw:bSkip :={|n| MovePtr(Alias(),csocio,n)} <-------

I must use xbrowse but with wbrowse of hernan it run ok

Posted: Mon Feb 05, 2007 2:55 pm
by Otto
Can you test with my exe

www.atzwanger.com/silvio/test.zip

Otto