Search found 74 matches: selectedcol

Return to advanced search

Re: ¿Saber numero de columna del browse? (SOLUCIONADO)

Karinha:

Aunque ya esta resuelto el tema, te agradezco la respuesta, busque en el foro
con oBrw:aCols[oBrw:SelectedCol():nCreationOrder] pero no mostraba resultados.

Saludos
by Armando
Sat Oct 28, 2023 4:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Saber numero de columna del browse? (SOLUCIONADO)
Replies: 5
Views: 362

Re: xbrowse command not working properly -- MR. RAO

... => TXBROWSE:COLATPOS( 4544 ) Called from: source\xbrowse.prg => (b)TXBROWSE( 709 ) Called from: source\xbrowse.prg => TXBROWSE:SELECTEDCOL( 0 ) Called from: source\xbrowse.prg => TXBROWSE:PAINT( 2181 ) Called from: source\xbrowse.prg => TXBROWSE:DISPLAY( 2126 ) Called ...
by Compuin
Wed Feb 23, 2022 5:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1384

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

... upon. Still if you want to assign action to single click, assign the action to oBrw:bRClicked and you can ascertain the active column with oBrw:SelectedCol()
by dutch
Wed Dec 22, 2021 5:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2257

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

... upon. Still if you want to assign action to single click, assign the action to oBrw:bRClicked and you can ascertain the active column with oBrw:SelectedCol()
by nageswaragunupudi
Mon Dec 20, 2021 3:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2257

Re: XBrowse: currently selected column position

HI Enrico.
oCol: = oBrw: SelectedCol ()
It seem oCol: nCreationOrder () returns the correct position of a column only when the columns keep their original order of creation, but not when they are swapped or hidden.

I have checked the class and could not find the method or function you want.
Regards
by FranciscoA
Fri Oct 16, 2020 10:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: currently selected column position
Replies: 12
Views: 1254

Re: xbrowse Devolver valor de una celda

oXBrowse:SelectedCol() --> oColumn

oXBrowse:nAt --> nColumnPosition // OJO: Posición en las columnas visualizadas

Es interesante ver el código del método nAt():
METHOD nAt() INLINE ::ColPos( ::SelectedCol() )

oColumn:nCreationOrder es el índice de columna cuando se creó
by cnavarro
Wed Oct 09, 2019 11:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse Devolver valor de una celda
Replies: 2
Views: 449

Re: xBrowse retrieve current cell value

oBrw:SelectedCol():Value
by nageswaragunupudi
Tue May 14, 2019 5:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse retrieve current cell value
Replies: 3
Views: 429

Re: A problem with xBrowse-keyboard navigation ?

Your observation is not correct. The SelectedCol() and nColSel are updated even when the column is changed by arrow keys. But by default, your bChange is called when row is changed but not when column only is changed. If you set oBrw:lColChangeNotify ...
by nageswaragunupudi
Thu May 02, 2019 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with xBrowse-keyboard navigation ?
Replies: 3
Views: 409

Re: Possible to CALCULATE a listbox-height ?

The easiest way to anchor a dialog to a cell is

ACTIVATE DIALOG oDlg ON INIT oBrw:SelectedCol():AnchorToCell( oDlg )
by nageswaragunupudi
Sun Apr 28, 2019 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to CALCULATE a listbox-height ?
Replies: 9
Views: 1052

A Problem w. autofocus and marquestyle_highlight_cell ?

... A selected column 2 still shows column 4 ( only if changing the column inside the sane row ) :!: :( To get the col-pos I'm using : nColPos := oBrw:SelectedCol():nCreationOrder http://www.pflegeplus.com/IMAGES/Autofocus3.jpg http://www.pflegeplus.com/IMAGES/Autofocus1.jpg ...
by ukoenig
Wed Apr 17, 2019 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Problem w. autofocus and marquestyle_highlight_cell ?
Replies: 0
Views: 344

Re: XBROWSE Border on cells

... nRGBColor, nPensize, nRound, nTranpL, lCol ) RETURN 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: 4121

Re: xbrowse bLDblClick y edición de columnas

Manuel, intenta con cualquiera de las siguientes lineas: WITH OBJECT oBrw :bLDblClick := {|| if(oBrw:SelectedCol:cHeader $ "DESCRIP;TOTAL;VDESC", MsgInfo("Tu Function-Dialog"),) } :bLDblClick := {|| if(oBrw:SelectedCol:nEditType = 0, MsgInfo("Tu Function-Dialog"),) ...
by FranciscoA
Sat May 26, 2018 3:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse bLDblClick y edición de columnas [solucionado]
Replies: 7
Views: 2093

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

... "AUTHOR", "LIKE", "INFO1", "INFO2" oBrw:bRClicked := { || ( nRPos := RECNO(), ; nCPos := oBrw:SelectedCol():nCreationOrder, ; IIF( nCPos = 3, SET_DEL(), NIL ), ; IIF( nCPos = 6, SET_LIKE(oBrw), NIL ), ; oBrw:RefreshCurrent() ) } Like-level on ...
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

Possible to run 2 or 3 browser synchronously ?

... := .T. tested to move to the column of browser 2 the same column like browser 1 but doesn't work WITH OBJECT oBrw2 :bChange := { || nCPos := oBrw2:SelectedCol():nCreationOrder, ; oBrw3:SelectCol( nCPos, .T. ), oBrw3:Refresh() } // move to column-pos of browser 1 doesn*t work END regards Uwe :?:
by ukoenig
Mon Jul 24, 2017 2:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to run 2 or 3 browser synchronously ?
Replies: 10
Views: 3000

Re: Avoid sound in xbrowse

You can try with any key : oBrw:bKeyDown := { | nKey | ( nRPos := RECNO(), ; // record-pos if needed nCPos := oBrw1:SelectedCol():nCreationOrder, ; // selected col IIF( nCPos = 1 .and. nKey == 13, ; // Sound on EDIT only on column 1 SndPlaySound( c_Path1 + "Alert.wav", ...
by Wanderson
Fri Jul 14, 2017 9:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Avoid sound in xbrowse
Replies: 4
Views: 1028
Next

Return to advanced search