xBrowse: bOnRowLeave

Post Reply
hua
Posts: 1075
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

xBrowse: bOnRowLeave

Post by hua »

I want to get the data of the row which user just left.

I can't use :bChange as :aRow() will show the data of current row I'm at.

I saw and tried :bOnRowLeave but my test seems to indicate it also doesn't give the result I'm looking for.

What else can I try?
TIA

p.s. How to get oBrw:report() to print logical field as Yes or No instead of .t., .f.?
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: xBrowse: bOnRowLeave

Post by cnavarro »

Try with bLButtonUp
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
hua
Posts: 1075
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

Re: xBrowse: bOnRowLeave

Post by hua »

cnavarro wrote:Try with bLButtonUp


Doesn't work when navigating with keyboard. If navigate with mouse it'll also return the current row not the previous active row
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
Posts: 1075
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

Re: xBrowse: bOnRowLeave

Post by hua »

Tried :bEditValid but seems checkbox won't trigger it
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: xBrowse: bOnRowLeave

Post by nageswaragunupudi »

I saw and tried :bOnRowLeave but my test seems to indicate it also doesn't give the result I'm looking for.


:bOnRowLeave was actually intended for this purpose only, but it is not working reliably :(
Regards

G. N. Rao.
Hyderabad, India
hua
Posts: 1075
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

Re: xBrowse: bOnRowLeave

Post by hua »

Rao,
I can do a workaround using bEditValid for Gets but has no solution for checkboxes.

Any idea?
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: xBrowse: bOnRowLeave

Post by nageswaragunupudi »

We need to improve on the usage of bOnRowLeave.
Will you be able to do some tests?
Regards

G. N. Rao.
Hyderabad, India
hua
Posts: 1075
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

Re: xBrowse: bOnRowLeave

Post by hua »

Sure Rao. What do you need ?
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
Post Reply