xBrowse: bOnRowLeave

xBrowse: bOnRowLeave

Postby hua » Fri Apr 17, 2020 2:55 am

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
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am

Re: xBrowse: bOnRowLeave

Postby cnavarro » Fri Apr 17, 2020 3:17 am

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
User avatar
cnavarro
 
Posts: 6520
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: xBrowse: bOnRowLeave

Postby hua » Fri Apr 17, 2020 3:31 am

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: 1070
Joined: Fri Oct 28, 2005 2:27 am

Re: xBrowse: bOnRowLeave

Postby hua » Fri Apr 17, 2020 6:46 am

Tried :bEditValid but seems checkbox won't trigger it
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am

Re: xBrowse: bOnRowLeave

Postby nageswaragunupudi » Fri Apr 17, 2020 3:18 pm

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
User avatar
nageswaragunupudi
 
Posts: 10465
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse: bOnRowLeave

Postby hua » Sat Apr 18, 2020 4:32 am

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
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am

Re: xBrowse: bOnRowLeave

Postby nageswaragunupudi » Sat Apr 18, 2020 4:43 am

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

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

Re: xBrowse: bOnRowLeave

Postby hua » Mon Apr 20, 2020 1:33 am

Sure Rao. What do you need ?
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

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