FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse: Auto save edit
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM

xBrowse: Auto save edit

Posted: 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
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM

Re: xBrowse: Auto save edit

Posted: Wed Mar 08, 2023 03:58 PM

Try this :

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

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM

Re: xBrowse: Auto save edit

Posted: Thu Mar 09, 2023 07:55 AM

It works. Thanks Jack!

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion