Search found 31 matches: lautosave

Return to advanced search

Re: ayuda con edicion en xbrowse

... either by clicking another cell or changing focus to another window/dialog, the Get is closed and the changes are lost by default or saved if oBrw:lAutoSave is set to .t. (This option is not safe) But the Get does not remain active, as you may want, so that the user can return and continue editing. ...
by nageswaragunupudi
Sun Aug 13, 2023 4:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con edicion en xbrowse
Replies: 3
Views: 368

Ayuda con un error en xbrowse

... se produce el error oBrw:oCol( "DesdeNew" ):nEditType := 1 oBrw:oCol( "DesdeNew" ):bEditValue := { || 1*1 } oBrw:aCols[ 7 ]:lAutoSave := .T. oBrw:oCol( "DesdeNew" ):bOnChange := { || _DetComF->HastaNew:=oBrw:oCol( "DesdeNew" ):Value + (oBrw:oCol( "Cantidad" ...
by José Camilo
Tue Mar 28, 2023 7:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con un error en xbrowse
Replies: 2
Views: 392

Re: xBrowse: Auto save edit

Try this :

oLbx:aCols[2]:lAutoSave := .t.
by Jack
Wed Mar 08, 2023 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: Auto save edit
Replies: 2
Views: 411

Re: Reitero consulta para actualizar un campo con XBrowse

... := _ArtFor->Pedir*_ArtFor->Costo,msginfo('jjjj'),refXbrw(_ArtFor->(Recno())),_ArtFor->(Eof()),.t.),.f.) } oBrw:aCols[ 7 ]:lAutoSave := .T. oBrw:aCols[ 8 ]:nFooterType:= AGGR_TOTAL oBrw:MakeTotals() oBrw:CreateFromCode() cGrad := PadR( GradStr( BrwGrad( oBrw ) ), 128 ) ACTIVATE ...
by José Camilo
Sun Feb 12, 2023 4:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reitero consulta para actualizar un campo con XBrowse
Replies: 6
Views: 722

Reitero consulta para actualizar un campo con XBrowse

... } oBrw:aCols[ 7 ]:lAutoSave := .T. oBrw:aCols[ 8 ]:nFooterType:= AGGR_TOTAL oBrw:MakeTotals() *---------------- //-------------------------------------------------------------------------------------------------------------------------------------------------------------// ...
by José Camilo
Sat Feb 11, 2023 3:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reitero consulta para actualizar un campo con XBrowse
Replies: 6
Views: 722

Re: edit a cell of a xbrowse

... with the mouse, the value is not saved if I don't remember to press enter This is the default behaviour and is safe. For what you want, set oCol:lAutoSave := .t. for all columns, set oBrw:lAutoSaves := .t. (3) at the beginning the array must be empty and with only one row and three columns Start ...
by Silvio.Falconi
Sun Jun 12, 2022 12:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: edit a cell of a xbrowse
Replies: 12
Views: 1159

Re: edit a cell of a xbrowse

... with the mouse, the value is not saved if I don't remember to press enter This is the default behaviour and is safe. For what you want, set oCol:lAutoSave := .t. for all columns, set oBrw:lAutoSaves := .t. (3) at the beginning the array must be empty and with only one row and three columns Start ...
by Silvio.Falconi
Sun Jun 12, 2022 12:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: edit a cell of a xbrowse
Replies: 12
Views: 1159

Re: edit a cell of a xbrowse

... with the mouse, the value is not saved if I don't remember to press enter This is the default behaviour and is safe. For what you want, set oCol:lAutoSave := .t. for all columns, set oBrw:lAutoSaves := .t. (3) at the beginning the array must be empty and with only one row and three columns Start ...
by nageswaragunupudi
Sun Jun 12, 2022 1:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: edit a cell of a xbrowse
Replies: 12
Views: 1159

Re: New FWH 19.09

AntoninoP wrote:there is a way to set the change saved on exit edit? without press return?


oCol:lAutoSave := .t.

To set for all columns,

oBrw:lAutoSaves := .t.
by nageswaragunupudi
Thu Oct 17, 2019 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 6903

Re: XBROWSE bEditValid bug? updated!

Thanks, what are the difference between oGet:varget() and eval( oGet:bSetGet) ?

The second bug is definitive!
if :lAutosave := .T. for this column, the bEditValue is evaluated twice if i leave the column with ENTER but when leaving with mouse sometime runtime-error nLastkey == NIL.
by byte-one
Wed Jan 16, 2019 2:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE bEditValid bug? updated!
Replies: 5
Views: 1025

XBROWSE bEditValid bug? updated!

... the variable always are added with spaces to len min 10 (maybe a UTF-problem). On normal gets outside xbrowse i have not tested. A second bug: if :lAutosave := .T. for this column, the bEditValue is evaluated twice if i leave the column with ENTER but when leaving with mouse sometime runtime-error ...
by byte-one
Tue Jan 15, 2019 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE bEditValid bug? updated!
Replies: 5
Views: 1025

Re: xBrowse cell edit

Hi, I am trying with FWH 15.3 and lAutoSave does not works. I modified xbrwedit.prg in this way #include "FiveWin.ch" #include "XBrowse.ch" function Main()    local oWnd, oBrw, oCol    USE Customer    ZAP   DEFINE ...
by AntoninoP
Thu Jun 15, 2017 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse cell edit
Replies: 13
Views: 2402

Re: xBrowse cell edit

oCol:lAutoSave may be set to .T.
or
oBrw:lAutoSaves may be set to .T.
by nageswaragunupudi
Thu Dec 22, 2016 4:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse cell edit
Replies: 13
Views: 2402

Re: xBrowse: grabar dato al salir de celda con el mouse

Rolando, Como indica Marcelo con lAutoSave es suficiente sin hacer ningún cambio    oCol:bOnPostEdit := {|o, v, n| oEMPL:TFAC:=v,oEMPL:Save() }   oCol:bEditValid:={| oGet, oCol| If(oGet:Value()<50,(MsgStop(),.F.),.T. ...
by acuellar
Thu Aug 04, 2016 4:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse: grabar dato al salir de celda con el mouse
Replies: 3
Views: 606

Re: xBrowse intermittent "message not found: NIL:NLASTKEY error

>>1) Suggest leave oCol:lAutoSave as default .F. If left as .f., then user can't immediately key-in? What's the alternative method? No If lFastEdit is true, then the user can enter the get by pressing any key. In fact lAutoSave is ...
by nageswaragunupudi
Thu May 12, 2016 5:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse intermittent "message not found: NIL:NLASTKEY error
Replies: 5
Views: 868
Next

Return to advanced search