Search found 104 matches: ncolsel

Return to advanced search

Re: How do I know the field name in xbrowse:column

... for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected. I use cField := oBrw:aCols[oBrw:nColSel]:cExpr Maurizio Dear Master, It works correctly. Thx. Try cField := oBrw:SelectedCol():cExpr
by dutch
Tue Dec 19, 2023 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 3026

Re: How do I know the field name in xbrowse:column

dutch wrote:Dear Mst.Rao and Maurizio,
I got another problem for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected.
Maurizio wrote:I use

cField := oBrw:aCols[oBrw:nColSel]:cExpr

Maurizio


Try
Code: Select all  Expand view
cField := oBrw:SelectedCol():cExpr
by nageswaragunupudi
Mon Dec 18, 2023 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 3026

Re: How do I know the field name in xbrowse:column

Dear Mst.Rao and Maurizio,
I got another problem for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected.
Maurizio wrote:I use

cField := oBrw:aCols[oBrw:nColSel]:cExpr

Maurizio
by dutch
Sun Dec 17, 2023 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 3026

Re: Fivewin and ADO

... 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: 5883

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: 553

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: 553

Re: How do I know the field name in xbrowse:column

I use

cField := oBrw:aCols[oBrw:nColSel]:cExpr

Maurizio
by Maurizio
Mon Jan 24, 2022 9:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 3026

Re: How do I know the field name in xbrowse:column

... you, this case has solved hide columns scenario. Another scenario is swap column, I'm still got problem. I cannot check the current field on ::nColSel, if the user swap column. I have these 2 functions if XBrowse_FindCol(oBrw,'COST') > 0 oBrw:DelCol( XBrowse_FindCol(oBrw,'COST')) ENDIF //------------------------------------------------------------------------------------------- Function ...
by dutch
Mon Jan 24, 2022 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 3026

ArrayIncrFilter

... } oBrw[I]:lFooter := .t. oBrw[I]:nFooterHeight := 35 // Altura del footer oBrw[I]:lIncrFilter := .T. oBrw[I]:lSeekWild := .T. oBrw[I]:nColSel := 1 For n := 1 to Len( oBrw[I]:aCols ) oCol := oBrw[I]:aCols[ n ] If n == 1 oCol:nEditType := EDIT_GET oCol:bOnPostEdit := { | oCol, xVal, ...
by jbrita
Thu Apr 01, 2021 2:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ArrayIncrFilter
Replies: 2
Views: 753

Re: XBrowse: currently selected column position

Jack wrote:oBrw:nColSel
o:nCreationOrder


Sorry, nColSel is the position from the first visible column and nCreationOrder is the creation order of the column not its position. I need the real physical position of the selected column counted from the first column.

EMG
by Enrico Maria Giordano
Fri Oct 16, 2020 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: currently selected column position
Replies: 12
Views: 1712

Re: XBrowse: currently selected column position

Look at this : oBrw:nColSel o:nCreationOrder FOR i := 2 TO LEN( oBrw:aCols) oCol := oBrw:aCols[ i ] oCol:nEditType := EDIT_GET oCol:bOnPostEdit := {|o, v, n| iif( (n != VK_ESCAPE .AND. oBrw:nColSel >2), (dbselectarea("EQUIP"),DBRLOCK(), ...
by Jack
Fri Oct 16, 2020 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: currently selected column position
Replies: 12
Views: 1712

Re: Se podra en XBrowse

Pude seleccionar al inicio
oBrow2:nColSel := 3

Pero se puede mover a la izq o derecha

como podre hacer que no se mueva, que solo quede en esa columna

Gracias.
by VitalJavier
Fri Sep 18, 2020 1:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se podra en XBrowse
Replies: 4
Views: 694

Re: URGENTE Busqueda Incremental en Xbrowse Array

... 2ª Columna (Nombre), esto evita que se tenga que Clickear esta columna, ya que la prioridad para buscar es por Nombre. Prueba en el ON INIT oBrw:nColSel := 2. Con esto se activa la busqueda en la columna 2. (En mi version se nota un comportamiento extraño, la flechita se queda en la col 1, y ...
by FranciscoA
Mon Jan 06, 2020 8:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: URGENTE Busqueda Incremental en Xbrowse Array
Replies: 21
Views: 3734

Re: trasparent bitmap on xbrowse

... | nRow, nCol, oCol, nKey | ; MsgAlert( "Row : = " + ALLTRIM( STR( oBrw:Keyno() ) ) + CRLF + ; "Col : = " + ALLTRIM( STR( oBrw:nColSel ) ), "SELECTION" ) } :CreateFromCode() END http://www.pflegeplus.com/IMAGES/xBrwbtn6.jpg regards Uwe :D
by ukoenig
Tue Jun 11, 2019 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: trasparent bitmap on xbrowse
Replies: 7
Views: 1031

Re: XBROWSE Border on cells

... 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() oSay[4]:Refresh() IIF( nBorder = 1,CELL_BORDER( oBrw, hDC, nRowPos, nColPos, nOption, nPenPos,; nRGBColor, nPensize, nRound, ...
by ukoenig
Wed Jun 05, 2019 6:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Border on cells
Replies: 27
Views: 4930
Next

Return to advanced search