xBrowse: Auto save edit

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

xBrowse: Auto save edit

Post by hua »

How to make xBrowse auto save any currently active editing in a cell?
What I mean is I am currently typing into a cell in xBrowse (FASTEDIT clause used), without pressing Enter I immediately click the Print button.
I find that if I do that whatever I recently keyed-in is not saved. It will only be saved if I pressed Enter before clicking the the Print button.
Is there some setting/flag to allow save whenever the cell loses focus?

TIA
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
Jack
Posts: 289
Joined: Wed Jul 11, 2007 11:06 am

Re: xBrowse: Auto save edit

Post by Jack »

Try this :

oLbx:aCols[2]:lAutoSave := .t.
hua
Posts: 1075
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

Re: xBrowse: Auto save edit

Post by hua »

It works. Thanks Jack!
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
Post Reply