Can you please let us know the FWH version? The line number in the error log does not correspond to any executable code either in 8.06 or 8.07.
In any case, since the error is in oBrw:aRow method, it appears that ::nArrayAt is 0 (Zero) at the time of the call. A relook into the code is needed.
xbrowse: too many recoursive handler calls error
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
Hi,
I'm using FWH May 2008.
The problem appairs in the row
METHOD aRow INLINE ( ::aArrayData[ ::nArrayAt ] )
The strange is that I didn't make any changes on the nArrayAt value,
the error start from a simply sysrefresh().
In order to increase the selection speed I made in my function a routine that execute my code only when a key is released for more than 0.25 seconds. Could be this a problem ? See my code as follows.
Function Main()
.. && I create xbrowse as Objects[6]
..
..
aObjects[6]:bChange:={|| SelectFunc_Cons()} && action to do when any selection is made
return
Function SelectFunc_Cons()
local nSeconds
aObjects[6]:bChange:={|| nil}
nSeconds:=seconds()
do while .t.
sysrefresh() && xbrowse is refreshed and the error appairs
if seconds()-nSeconds>.25
exit
endif
enddo
..
..
.. my code
..
aObjects[6]:bChange:={|| SelectFunc_Cons()}
return
I'm using FWH May 2008.
The problem appairs in the row
METHOD aRow INLINE ( ::aArrayData[ ::nArrayAt ] )
The strange is that I didn't make any changes on the nArrayAt value,
the error start from a simply sysrefresh().
In order to increase the selection speed I made in my function a routine that execute my code only when a key is released for more than 0.25 seconds. Could be this a problem ? See my code as follows.
Function Main()
.. && I create xbrowse as Objects[6]
..
..
aObjects[6]:bChange:={|| SelectFunc_Cons()} && action to do when any selection is made
return
Function SelectFunc_Cons()
local nSeconds
aObjects[6]:bChange:={|| nil}
nSeconds:=seconds()
do while .t.
sysrefresh() && xbrowse is refreshed and the error appairs
if seconds()-nSeconds>.25
exit
endif
enddo
..
..
.. my code
..
aObjects[6]:bChange:={|| SelectFunc_Cons()}
return
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact: