Search found 36 matches: refreshcurrent

Return to advanced search

Re: xBrowse footer counting on cell / field-condition ?

... := RECNO(), ; nCPos := oBrw:SelectedCol():nCreationOrder, ; IIF( nCPos = 3, SET_DEL(), NIL ), ; IIF( nCPos = 6, SET_LIKE(oBrw), NIL ), ; oBrw:RefreshCurrent() ) } Like-level on button-action @ 585, 170 BTNBMP oBtn[5] OF oDlg ; SIZE 70, 25 PIXEL 2007 ; // B / H PROMPT "0 %" ; ACTION ...
by ukoenig
Wed Mar 07, 2018 9:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer counting on cell / field-condition ?
Replies: 12
Views: 2365

Re: FWH: MySql/MariaDB: RowSet object

... Suggested with RowSet: Ensure that the modified record is the selected record in the browse and call oRs:Resync()oBrw:RefreshCurrent() // same as oBrw:DrawLine()  After inserting a new record. With Dolphin oDbCli:Refresh(.F.)oBrw:DrawLine()  ...
by nageswaragunupudi
Wed Apr 26, 2017 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 19564

New FTDN February/Febrero 2017 (FWH 17.02)

... deciding whether to refresh row or entire browse. In all other cases, the programmer has to decide this increasing the complexity of code. Now RefreshCurrent() method decides whether the value of a sorted column is changed or not and accordingly decides to refresh browse or row. So now it is ...
by Antonio Linares
Fri Feb 24, 2017 12:37 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2017 (FWH 17.02)
Replies: 2
Views: 2117

Re: Xbrowse - EDIT_LISTBOX

... aProd, {|c| c[1]=cVal})) != 0 ,; ( oBrw:Lock() ,; wfsico->codint :=aProd[nPos,2],; wfsico->control:=aProd[nPos,3],; oBrw:Unlock(),oBrw:RefreshCurrent() ) ,oBrw:SetFocus() ) } Espero que se entienda Como siempre, agradecido por su ayuda
by rterraz
Tue Feb 14, 2017 3:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse - EDIT_LISTBOX
Replies: 4
Views: 1812

How to convert snippet for TCBrowse into XBrowse

... the equivalent function to allow the logic below to be applied to an xBrowse? I only know for sure oBrw:DrawSelect() can be rewritten as oBrw:refreshCurrent().      uVar := eval(oBrw:aColumns[2]:bData)     if oBrw:lEditCol( 2, @uVar, "@!",,CLR_BLACK,CLR_WHITE ...
by hua
Tue Jun 28, 2016 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to convert snippet for TCBrowse into XBrowse
Replies: 1
Views: 482

Re: Refresh row xBrowse

Oliveiros,

Refresh ONLY the selected row

oBrw:RefreshCurrent()

regards
Uwe :D
by ukoenig
Wed Apr 20, 2016 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresh row xBrowse
Replies: 2
Views: 498

Xbrowse moving to the next cell after edit (NO return-key) ?

... "9" oCol:nEditType := EDIT_GET oCol:bOnPostEdit := { | oCol, xVal, nKey | ( NEU_TAGE(xVal, 1, "T1", cMonat, nPage ), ; oBrw2:RefreshCurrent(), ; oBrw2:SelectCol(6), lSpeichern := .F. ) } ------------ The function < NEU_TAGE(xVal, 1, "T1", cMonat, nPage ) > ...
by ukoenig
Tue Nov 10, 2015 3:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse moving to the next cell after edit (NO return-key) ?
Replies: 8
Views: 1744

Re: ADO SQL VISIBILITY

... navigating the browse. To get the same effect, while creating the browse, add this line: oBrw:bChange := { || oBrw:oRs:Resync( 1, 2 ), oBrw:RefreshCurrent() } When a user moves browse cursor to any row, he will see the latest values of that row, as modified by other users. In case of DBF, ...
by nageswaragunupudi
Thu Jul 02, 2015 2:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO SQL VISIBILITY
Replies: 17
Views: 3481

xBrowse-celledit => a col / row -reset on defined key ?

... { | oCol, xVal, nKey | If( nKey == VK_RETURN, ; ( PREIS_SAVE(xVal, 31, "T31",cMonat), ; // val, position, fieldname, dbf / alias oBrw2:RefreshCurrent(), ; oBrw2:GoDown( 1 ), ; oBrw2:SelectCol(5) ),) } http://www.pflegeplus.com/IMAGES/Break1.jpg best regards Uwe :?:
by ukoenig
Thu Jun 11, 2015 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse-celledit => a col / row -reset on defined key ?
Replies: 1
Views: 459

Re: Add Xbrowse Column at runtime

... ( f := AScan( oBrw:aSelected, oBrw:BookMark ) ) == 0, ; AAdd( oBrw:aSelected, oBrw:BookMark ), ; ADel( oBrw:aSelected, f, .t. ) ), nil ), ; oBrw:RefreshCurrent() } END @10,10 button .... action lRitenuta:=IF(lRitenuta,.f.,.t.),; oBrw:aCols[8]:lHide:=!lRitenuta, oBrw:refresh() the problem : I ...
by Silvio.Falconi
Wed Nov 12, 2014 12:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add Xbrowse Column at runtime
Replies: 7
Views: 2537

Re: Add Xbrowse Column at runtime

... ( f := AScan( oBrw:aSelected, oBrw:BookMark ) ) == 0, ; AAdd( oBrw:aSelected, oBrw:BookMark ), ; ADel( oBrw:aSelected, f, .t. ) ), nil ), ; oBrw:RefreshCurrent() } oBrw:refresh() return nil but it make errors I tried also with WITH OBJECT oBrw:InsCol( 8 ) :lHide := lRitenuta :bEditValue := { ...
by Silvio.Falconi
Wed Nov 12, 2014 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add Xbrowse Column at runtime
Replies: 7
Views: 2537

Re: bug in FW 13.04 xBrowse

Lucas,

I missed your email and your post, sorry :-(

Have you tried with this change ?

( oBrw:cAlias )->( DbAppend() )
oBrw:GoBottom()
oBrw:RefreshCurrent()
oBrw:GoLeftMost()
oBrw:aCols[ 4 ]:Edit()
by Antonio Linares
Fri May 17, 2013 7:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug in FW 13.04 xBrowse
Replies: 9
Views: 1287

Re: Refresh an array

all of the above, aslo; you could just change the array element and then refresh() the current xbrowse row.

oBrw:Columnx:Value( nNewvalue )
oBrw:refreshcurrent()


Reinaldo.
by reinaldocrespo
Thu Apr 04, 2013 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresh an array
Replies: 5
Views: 1055

Re: xBrowse => oBrw:SelectCol(nPos) doesn't work ?

If you want to go to a particular column number,

oBrw:nColSel := <nColNo>
oBrw:RefreshCurrent()
by nageswaragunupudi
Mon Jul 30, 2012 1:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse => oBrw:SelectCol(nPos) doesn't work ?
Replies: 2
Views: 717
PreviousNext

Return to advanced search