Search found 86 matches: nrowsel

Return to advanced search

Valor celda XBROWSE

Muy buenas, estoy intentando recoger el valor de una celda directamente del objeto XBROWSE y no se hacerlo obtengo la linea oBrw:nRowsel() y la columna que quiero pero el valor no se como extraerlo Por el foro he leído una contestación diciendo esto: Eval( oBrowse:bLine ) Pero, me da error. ...
by juanjogascem
Thu Jun 15, 2023 3:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Valor celda XBROWSE
Replies: 4
Views: 224

Re: Fivewin and ADO

... i "seek" in XBROWSE when use a Record-Set ? Yes. For that matter any datasource. how do i get active ROW / COL where Cursor are ? oBrw:nRowSel oBrw:nColSel But you rarely need this information.
by nageswaragunupudi
Sat Jun 10, 2023 1:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin and ADO
Replies: 36
Views: 3376

Re: problem with xbrowse first row

Jack wrote:Hi,
I think about this method :

oLbx:SelectCol(10) or

oLbx:nRowSel:=5,oLbx:nColSel:=2 or

oBrw:BookMark := <nNewRowNum>

Have a good day,

Philippe


Philippe,
I wish erase the focus Not Select a col
by Silvio.Falconi
Wed May 11, 2022 9:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with xbrowse first row resolved
Replies: 5
Views: 376

Re: problem with xbrowse first row

Hi,
I think about this method :

oLbx:SelectCol(10) or

oLbx:nRowSel:=5,oLbx:nColSel:=2 or

oBrw:BookMark := <nNewRowNum>

Have a good day,

Philippe
by Jack
Wed May 11, 2022 9:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with xbrowse first row resolved
Replies: 5
Views: 376

Re: XBROWSE Questions

... := { || SyncBrowses( oBrw2, oBrw1 ) } //------------ FUNCTION SYNCBROWSES( oBrw1, oBrw2 ) WITH OBJECT oBrw2 :BookMark := oBrw1:BookMark :nRowSel := oBrw1:nRowSel :Refresh() END RETURN NIL regards Uwe :D
by ukoenig
Thu Nov 07, 2019 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Questions
Replies: 3
Views: 535

Re: XBROWSE Border on cells

... for inside, line and outside -border-painting Added a missing col-focus-selection by radiobuttons oBrw:bPainted := < |hDC| nRowPos := oBrw:nRowSel // screen row for border-painting :roll: nRowPos1 := oBrw:Keyno() // record row for record-display on top nColPos := oBrw:nColSel oSay[3]:Refresh() ...
by ukoenig
Wed Jun 05, 2019 6:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4105

Re: XBROWSE Border on cells

... NIL > the new position the border has to be painted : oBrw:bChange := { || nColPos := oBrw:SelectedCol():nCreationOrder, ; nColRow := oBrw:nRowSel, ; MOVEBORDER( oBrw ) } regards Uwe :?:
by ukoenig
Tue Apr 16, 2019 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4105

Xbrowse < :nColSel > col-pos change at runtime rel. to index

Hello, I got a problem to change the Col-position at runtime On startup it is OK There is a RUNTIME-change of < FILE + INDEX > ON INIT :nRowSel := nGoRecord :D :nColSel := nOrder :D :SetGroupHeader( "Workarea ==> " + DBF() + " Index ==> " + (cFileName)->(INDEXKEY(nOrder)) ...
by ukoenig
Sat Mar 03, 2018 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse < :nColSel > col-pos change at runtime rel. to index
Replies: 15
Views: 3523

Re: A problem xBrowse seek on DATE and NUMERIC ?

... make these corrections in the Method Edit( nKey ) of TXBrwColumn: Replace Line 13089 of FWH1701 ( line 13007 of FWH1612 ) nRow := ( ( ::oBrw:nRowSel - 1 ) * ::oBrw:nRowHeight ) + ::oBrw:HeaderHeight() with nRow := ( ( ::oBrw:nRowSel - 1 ) * ::oBrw:nRowHeight ) + ::oBrw:FirstRow() Also replace ...
by ukoenig
Sun Jan 29, 2017 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem xBrowse seek on DATE and NUMERIC ?
Replies: 6
Views: 2401

Re: XBrowse 16.04 : Gets in Header Bar

... cdata:=::cf1 elseif ::obrw:lgetbar.and.nPaintRow==0 cdata:=::cf2 else cData := Eval( ::bStrData ) end 6. method edit() class txbrwcolumn if ::obrw:nrowsel==-1 uvalue:=::cf1 elseif ::obrw:nrowsel==0 uvalue:=::cf2 else uValue := IfNil( ::Value, ::BlankValue() ) end if ::obrw:lgetbar if ::obrw:nrowsel==-1 ...
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: 9949

Re: xBrowse how to show a button-seek-result on top

... values S01 - S18 cTour := "S" + aTour[ nRow ] ), NIL ), ; ("TOUREN")->(DBSEEK( TRIM(cTour) ) ), ; oBrw1:SetFocus(), ; oBrw1:nRowSel := 1, oBrw1:Refresh() ) } The second situation : is there maybe a solution as well to show records on browser-top during incremental seek ? ...
by ukoenig
Wed May 18, 2016 6:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse how to show a button-seek-result on top
Replies: 4
Views: 985

Re: xBrowse how to show a button-seek-result on top

... but the seek-result is still displayed on different row-positions ("TOUREN")->(DBSEEK( TRIM(cTour) ) ) // on Button-action oBrw1:nRowSel := 1 oBrw1:Refresh() the result of the other test oBrw:nClrText := <nNewColor> the color is only shown on selector-header, not the rows ...
by ukoenig
Wed May 18, 2016 3:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse how to show a button-seek-result on top
Replies: 4
Views: 985

Re: xBrowse how to show a button-seek-result on top

... To change the recordselector text color, please set oBrw:nClrText := <nNewColor> and call oBrw:Refresh(). Now coming to your question. oBrw:nRowSel := 1 and oBrw:Refresh() should bring the current row to top. But please keep this in mind. Assuming the browse can display 10 rows and data ...
by nageswaragunupudi
Wed May 18, 2016 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse how to show a button-seek-result on top
Replies: 4
Views: 985

Re: Colocar un Dialogo debajo de una casilla en Xbrowse

Antonio Gracias, tenia este codigo copiado de la clase txbrwcol LOCAL oDlg LOCAL oCol := oBrw:aCols[oBrw:nColSel] LOCAL nRow := ( ( oBrw:nRowSel - 1 ) * oBrw:nRowHeight ) + oBrw:HeaderHeight() + 2 LOCAL nCol := oCol:nDisplayCol + 3 LOCAL nWidth := oCol:nWidth - 4 LOCAL nHeight := oCol:oBrw:nRowHeight ...
by jnavas
Mon Oct 19, 2015 4:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Colocar un Dialogo debajo de una casilla en Xbrowse
Replies: 2
Views: 570

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

Imade some thing on Orario application

nora:=alltrim(str(oBrw:nRowSel))
ngiorno:=alltrim(str(oBrw:nColSel-1))
oBrw:SelectedCol():Value := OR->CLASSE
by Silvio.Falconi
Thu Jun 11, 2015 10:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse-celledit => a col / row -reset on defined key ?
Replies: 1
Views: 458
Next

Return to advanced search