Search found 36 matches: refreshcurrent

Return to advanced search

Re: copy a row of xbrowse

... or assign a new unique ID aAdd( oBrw:aArrayData, aRow ) // Add to the xBrowse array NEXT, oBrw:Unlock( .t. ), aCopy := NIL, // Reset aCopy oBrw:RefreshCurrent(), oBrw:SetFocus() ) ``` ### Generate Unique Identifiers For generating new unique IDs for the pasted rows, you could use a function ...
by Otto
Tue Dec 05, 2023 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5591

Re: copy a row of xbrowse

... ( ; oBrw:Lock(), ; aCopy[ 1 ] := codsep ,; aCopy[ 8 ] := 0 ,; //recno aadd( oBrw:aArrayData, aCopy ),; oBrw:Unlock( .t. ), ; acopy:=NIL ,; oBrw:RefreshCurrent(), oBrw:SetFocus() ) ENDMENU but when I modify it the nRecord:= oBrowse:nArrayAt is the same
by Silvio.Falconi
Tue Dec 05, 2023 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5591

Re: Maria DB and incrental seek

[quote]::oBrt:bOnChanges := { || ::oRsTestate:ReSync(),; ::oBrt:RefreshCurrent(),; ::oBrt:MakeTotals(),; ::oBrt:RefreshFooters() } [/quote Before I go into the main topic, I like to advise you that this code is not required. XBrowse automatically does all ...
by nageswaragunupudi
Fri Jun 09, 2023 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Maria DB and incrental seek
Replies: 1
Views: 136

Re: Actuliza Pantalla de XBrowse

... que se ha modificado un valor en una columna Aprovecho para indicarte por si lo necesitas ( quizás no en este caso ), que tienes el metodo RefreshCurrent que solo refresca la fila en la que te encuentras, no siendo necesario hacer el refresh de todo el browse ( que en el caso que describes ...
by remtec
Mon May 15, 2023 2:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actuliza Pantalla de XBrowse
Replies: 6
Views: 583

Re: Actuliza Pantalla de XBrowse

... que se ha modificado un valor en una columna Aprovecho para indicarte por si lo necesitas ( quizás no en este caso ), que tienes el metodo RefreshCurrent que solo refresca la fila en la que te encuentras, no siendo necesario hacer el refresh de todo el browse ( que en el caso que describes ...
by cnavarro
Fri May 12, 2023 2:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actuliza Pantalla de XBrowse
Replies: 6
Views: 583

Re: The more fancy Xbrowses the more slow they become ?

But mostly, I suggest leaving it to XBrowse, whether to Refresh() or RefreshCurrent() XBrowse knows it better. Let us not interfere. Now I wonder ..... I think I do some refresh to much then ? Are these refresh OK ? :bChange := { || nSecs := SECONDS(), Scope("factinfo","document","factart","factart"),oBrw[6]:refresh() ...
by Marc Venken
Sat Nov 05, 2022 3:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: The more fancy Xbrowses the more slow they become ?
Replies: 8
Views: 436

Re: The more fancy Xbrowses the more slow they become ?

or
oBrw:drawline


No.
Instead, use RefreshCurrent()

But mostly, I suggest leaving it to XBrowse, whether to Refresh() or RefreshCurrent()
XBrowse knows it better.
Let us not interfere.
by nageswaragunupudi
Sat Nov 05, 2022 3:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: The more fancy Xbrowses the more slow they become ?
Replies: 8
Views: 436

Re: XBrowse: Using Get for incremental Seek/Filters

... f, .t. ) ), Nil ), ;                             oBrw:RefreshCurrent() }  I add also these lines :bChange := { |o| o:RefreshFooters() } :bKeyChar := { |k| If( k == VK_SPACE, ( oBrw:oCol( ...
by Silvio.Falconi
Sat Dec 12, 2020 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 3706

change on line a combo

... := { || AScan( oBrw:aSelected, oBrw:BookMark ) > 0 } :SetCheck( nil, .t.) end :bLDblClick := { || oBrw:oCol( 1 ):CheckToggle(), oBrw:RefreshCurrent() } if the user moves the column with the checkbox on third position then it doesn't work well as the user always has to click on the ...
by Silvio.Falconi
Thu Nov 12, 2020 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 5318

Re: Ayuda Con Xbrowse (Consulta a Cristobal N.)

... del xbrowse ( Mr. Rao ), por si él considera que lo que te he propuesto se debe hacer de otra forma más correcta. Tienes en alguna function un RefreshCurrent o Refresh? Hola Cristobal. Mil perdones, me congundi, claro que es para ti, ya que tu has tenido la gentileza como siempre de estar dispuesto ...
by remtec
Fri Nov 15, 2019 4:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Con Xbrowse (Consulta a Cristobal N.)
Replies: 9
Views: 1002

Re: Ayuda Con Xbrowse (Consulta a Cristobal N.)

... del xbrowse ( Mr. Rao ), por si él considera que lo que te he propuesto se debe hacer de otra forma más correcta. Tienes en alguna function un RefreshCurrent o Refresh?
by cnavarro
Fri Nov 15, 2019 2:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Con Xbrowse (Consulta a Cristobal N.)
Replies: 9
Views: 1002

Re: xbrowse listbox

... { | nRow, nCol, oCol, nKey | Retvalue := MyCellDlg( oBrw, nRow, nCol, oCol, nKey ), ; IIF( Retvalue <> NIL, ( oCust:City := Retvalue, oBrw:RefreshCurrent(), oBrw:GoRight() ), NIL ) } END next column :aCols[ 4 ]:nEditType = EDIT_GET regards Uwe :?:
by ukoenig
Mon Apr 22, 2019 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse listbox
Replies: 5
Views: 743

Re: New FTDN July 2018 (FWH 18.07)

... se cambian los datos de una celda, es posible llamar a oCol:PaintData() para pintar el valor actual de la celda, sin tener que llamar a oBrw:RefreshCurrent() que implica pintar toda la fila nuevamente. - Mejora de edición en línea: cuando se edita un valor de carácter, si oCol:nDataLen es ...
by Antonio Linares
Fri Sep 21, 2018 8:58 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July 2018 (FWH 18.07)
Replies: 5
Views: 2721

New FTDN July 2018 (FWH 18.07)

... When the data of a cell is changed, it is possible now to call oCol:PaintData() to paint the current cell value, without having to call oBrw:RefreshCurrent() which involves painting the entire row again. - Inline editing enhancement: When a character value is being edited, if oCol:nDataLen ...
by Antonio Linares
Fri Sep 21, 2018 8:42 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN July 2018 (FWH 18.07)
Replies: 5
Views: 2721

Re: oRs:EditBaseRecord, oRec:Save() problem

... function ItemSaved() and Ithink the problem solved. I have used the original datarow.prg. Of course some more lines like oRsItems:ReSync(), oBrw:RefreshCurrent() is needed. static function EditItems( oRec ) ...    // ACTION If( oRec:Save(), oDlg:End(), nil )   ACTION If( ItemSaved(oRec), ...
by betoncu
Sun Aug 26, 2018 10:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oRs:EditBaseRecord, oRec:Save() problem
Replies: 8
Views: 1088
Next

Return to advanced search