xBrowse: Auto save edit

xBrowse: Auto save edit

Postby hua » Tue Mar 07, 2023 10:41 am

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

Re: xBrowse: Auto save edit

Postby Jack » Wed Mar 08, 2023 3:58 pm

Try this :

oLbx:aCols[2]:lAutoSave := .t.
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Re: xBrowse: Auto save edit

Postby hua » Thu Mar 09, 2023 7:55 am

It works. Thanks Jack!
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 89 guests