Page 1 of 1

xBrowse: Auto save edit

PostPosted: Tue Mar 07, 2023 10:41 am
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

Re: xBrowse: Auto save edit

PostPosted: Wed Mar 08, 2023 3:58 pm
by Jack
Try this :

oLbx:aCols[2]:lAutoSave := .t.

Re: xBrowse: Auto save edit

PostPosted: Thu Mar 09, 2023 7:55 am
by hua
It works. Thanks Jack!