xBrowse: bOnRowLeave

Post Reply
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

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.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: xBrowse: bOnRowLeave

Post by cnavarro »

Try with bLButtonUp
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

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.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Re: xBrowse: bOnRowLeave

Post by hua »

Tried :bEditValid but seems checkbox won't trigger it
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
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: 861
Joined: Fri Oct 28, 2005 2:27 am

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.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
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: 861
Joined: Fri Oct 28, 2005 2:27 am

Re: xBrowse: bOnRowLeave

Post by hua »

Sure Rao. What do you need ?
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
Post Reply