Search found 65 matches: bbookmark

Return to advanced search

Re: copy a row of xbrowse

... oBrw:SetFocus() ) Function Giverows (oBrw) local n,uBook,nAt local aTmp:= {} For n = 1 to len(oBrw:aselected) uBook := Eval( oBrw:bBookMark ) nAt := Ascan( oBrw:aSelected, uBook ) aCopy:= aclone(oBrw:aArrayData[ nAt ]) Next return acopy
by Silvio.Falconi
Wed Dec 06, 2023 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5769

XBROWSE : BookMark what is it for ?

hi, in c:\fwh\source\classes\xbrowse.prg i found often "BookMark","bBookMark" and "SQLRDD_BookMark" what are "Bookmark" for ... have no Idea :idea: can somebody point me to a Sample where "BookMark" are used ... or ...
by Jimmy
Sun Apr 16, 2023 5:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : BookMark what is it for ?
Replies: 1
Views: 197

Re: xBrowse and SQLRDD bug

This code: DEFAULT ::bKeyNo     := ::bBookMark, ; ::bBookMark is { |x| If( x == nil, RECNO(), DBGOTO( x ) ) } This works well if the DBF is in natural order (with no index set) and when no filter is set. If the DBF is set to an index or if ...
by nageswaragunupudi
Thu Apr 30, 2020 12:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and SQLRDD bug
Replies: 18
Views: 2410

Re: XBrowse 16.04 : Gets in Header Bar

... aCols[ nLast+1], nHeight, lHighLite, .t., nFor, 0 ) endif 5. method paintdata() class txbrwcolumn if ::bStrData != nil.and. !EVAL(::obrw:bBookMark)==EVAL(::obrw:bkeyCount)+1,.t.); .or.::obrw:lgetbar.and.nPaintRow<=0 if ::obrw:lgetbar.and.nPaintRow==-1 cdata:=::cf1 elseif ::obrw:lgetbar.and.nPaintRow==0 ...
by ShumingWang
Mon Sep 05, 2016 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse 16.04 : Gets in Header Bar
Replies: 34
Views: 10019

Re: txbrowse - Workarea not in use ??

... | ( ::cAlias )->( DbSkipper( IfNil( n, 1 ) ) ) },; ::bBof := {|| ( ::cAlias )->( Bof() ) },; ::bEof := {|| ( ::cAlias )->( Eof() ) },; ::bBookMark := {| n | iif( n == nil .or. n == 0 ,; ( ::cAlias )->( RecNo() ) ,; ( ::cAlias )->( DbGoto( n ) ) ) } // error aquí ?? en la referencia ...
by russimicro
Wed May 11, 2016 8:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: txbrowse - Workarea not in use ??
Replies: 7
Views: 1968

Re: XBROWSE RESTRINGIR MULTISELECT

... pregunta y revisa METHOD Select( nOperation ) CLASS TXBrowse, saludos... :shock: lHighLite := ::lMultiSelect .and. ( Ascan( ::aSelected, Eval( ::bBookMark ) ) > 0 ) if ::lMultiSelect .and. ( nStyle == MARQSTYLE_HIGHLROWMS .or. ::nMarqueeStyle == MARQSTYLE_HIGHLWIN7 ) lHighLite := ( Ascan( ...
by MarioG
Fri Aug 30, 2013 1:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE RESTRINGIR MULTISELECT
Replies: 19
Views: 4975

Re: xBrowse Fillrect - How to color multiple rows by column

Let us be clear about what oBrw:BookMark means. oBrw:bBookmark is defined as { |n| If( n == nil, RecNo(), DbGoTo( n ) } for RDD and { |u| If( u == nil, oRs:BookMark, oRs:BookMark := u ) } for RecordSet. oBrw:BookMark is the same as RecNo() for DBF ...
by nageswaragunupudi
Fri May 24, 2013 3:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Fillrect - How to color multiple rows by column
Replies: 11
Views: 3202

Re: xBrowse array and move to a specific row

... Eval( ::bOnSkip, Self ), ; ::nArrayAt - nOld }, ; ::bBof := { || ::nArrayAt < 1 }, ; ::bEof := { || ::nArrayAt > Eval( ::bKeyCount ) }, ; ::bBookMark := { | n | If( n == nil, ::nArrayAt, ; ( ::nArrayAt := n, Eval( ::bOnSkip, Self ), n ) ) }, ; ::bKeyNo := ::bBookMark, ; ::bKeyCount := { ...
by joseluisysturiz
Wed Feb 27, 2013 10:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse array and move to a specific row
Replies: 5
Views: 1320

Re: bug SQLRDD, xHarbour and BCC 5.8.2

... look the source code xBrowse in Method SETRDD Unmark this lines elseif ( ::cAlias )->( RddName() ) == "SQLRDD" DEFAULT ::bKeyNo := ::bBookMark, ; ::bKeyCount := { || ( ::cAlias )->( LastRec() ) }
by kokookao2007
Thu Jan 10, 2013 8:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug SQLRDD, xHarbour and BCC 5.8.2
Replies: 19
Views: 5998

Re: XBROWSE RESTRINGIR MULTISELECT

... pregunta y revisa METHOD Select( nOperation ) CLASS TXBrowse, saludos... :shock: lHighLite := ::lMultiSelect .and. ( Ascan( ::aSelected, Eval( ::bBookMark ) ) > 0 ) if ::lMultiSelect .and. ( nStyle == MARQSTYLE_HIGHLROWMS .or. ::nMarqueeStyle == MARQSTYLE_HIGHLWIN7 ) lHighLite := ( Ascan( ...
by joseluisysturiz
Tue Oct 23, 2012 12:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE RESTRINGIR MULTISELECT
Replies: 19
Views: 4975

Re: xBrowse & SQLRDD

Please note that (::cAlias)->( RecNo() ) is exaactly the same as Eval( ::bBookMark ) or ::BookMark. Instead of saying uCurRow := ( ::cAlias )->( RecNo() ), we rather code as uCurRow := ::BookMark or uCurRow := Eval( ::bBookMark ), which is already done. ...
by PeterHarmes
Mon Oct 10, 2011 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse & SQLRDD
Replies: 55
Views: 12749

Re: xBrowse & SQLRDD

Please note that (::cAlias)->( RecNo() ) is exaactly the same as Eval( ::bBookMark ) or ::BookMark. Instead of saying uCurRow := ( ::cAlias )->( RecNo() ), we rather code as uCurRow := ::BookMark or uCurRow := Eval( ::bBookMark ), which is already done. ...
by nageswaragunupudi
Mon Oct 10, 2011 11:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse & SQLRDD
Replies: 55
Views: 12749

Re: xBrowse & SQLRDD

Hi I try "bBookMark" and is not stable, when I browse the list items I repeat, my customers complain that the application is confusing, I'm just excuses, I hope that at some point has a solution. oxBrw:bKeyNo = oxBrw:bBookMark ...
by Blessed
Sat Oct 08, 2011 9:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse & SQLRDD
Replies: 55
Views: 12749

Re: xBrowse & SQLRDD

Eval( oBrw:bBookMark ) returns the RecNo()
Eval( oBrw:bBookMark, n ) executes( DBGOTO( n ), RECNO() )


But doesnt that mean that the browse must be in recno() order?

Yes.
Any problem?
by nageswaragunupudi
Thu Oct 06, 2011 3:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse & SQLRDD
Replies: 55
Views: 12749

Re: xBrowse & SQLRDD

If you are using the latest XBrowse, for SQLRDD, we are using RecNo() and DbGoTo() functions only both for bBookMark and bKeyNo().
We are not using OrdKeyNo().
We expect SQLRDD to be perfectly reliable with RecNo() and GoTo() functions even if used in quick succession many times.
by nageswaragunupudi
Thu Oct 06, 2011 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse & SQLRDD
Replies: 55
Views: 12749
Next

Return to advanced search