Search found 94 matches: ncreationorder

Return to advanced search

Re: XBrowse edit only one column

... ] // not recommended because at runtime we do not know which colums is where oBrw:<cheader> oBrw:oCol( "cheader" ) oBrw:oCol( <nCreationOrder> ) Once we have the column object, oColObject:Value --> gives the value oColObject:VarPut ( uNewValue ) not only assigns the new ...
by nageswaragunupudi
Wed Aug 14, 2019 4:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse edit only one column
Replies: 26
Views: 3085

A Problem w. autofocus and marquestyle_highlight_cell ?

... 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 I still ...
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: 350

Re: XBROWSE Border on cells

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

Re: How to reference xBrowse columns

... runtime, we should not refer to them like this because user may shuffle the order of the columns as he likes. During runtime: oBrw:oCol( <nCreationOrder> ) Eg. oBrw:oCol( 3 ). 3 is the position when the browse is first setup. oBrw:oCol( <cHeaderName> ) oBrw:<cHeaderName> ...
by nageswaragunupudi
Wed May 23, 2018 3:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to reference xBrowse columns
Replies: 2
Views: 643

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

... "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 button-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: 2420

Change Groupheaders in Xbrowse on new Values

... ) + "_1" ), ;         oBrw[ 6 ]:Refresh() )  :SetGroupHeader( aMaanden[nMaand], oBrw[6]:oCol("T1"):nCreationOrder, oBrw[6]:oCol("M4"):nCreationOrder ) // header Januari = 0K Tried : oBrw[6]:bChange := { || oBrw[6]:cGroupHeader := { aMaanden[nMaand] ...
by Marc Venken
Sat Sep 09, 2017 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Groupheaders in Xbrowse on new Values
Replies: 1
Views: 499

Re: Xbrowse best way to change browse cols realtime

... most dynamic, I need one more solution : I can select headers by : :SetGroupHeader( "Voorbereiding", oBrw[4]:oCol("T1"):nCreationOrder, oBrw[4]:oCol("M4"):nCreationOrder ) But I often refer to the database fields for changing colors. Can I also use a Xbrowse ...
by Marc Venken
Tue Aug 01, 2017 3:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse best way to change browse cols realtime
Replies: 19
Views: 3041

Analysing objects with Xbrowser

... For example : I was looking to show the tooltips only from kolom 6 and up. I looked into the object with Xbrowser and saw that there was a data : ncreationorder . I used it and it worked. For most of you this will be logic and commen, but I found it interesting... function MyStatusToolTip( ...
by Marc Venken
Sat Jul 29, 2017 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Analysing objects with Xbrowser
Replies: 0
Views: 362

Possible to run 2 or 3 browser synchronously ?

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

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", 0 ), NIL ...
by Wanderson
Fri Jul 14, 2017 9:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Avoid sound in xbrowse
Replies: 4
Views: 1051

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", 0 ), NIL ...
by ukoenig
Fri Jul 14, 2017 7:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Avoid sound in xbrowse
Replies: 4
Views: 1051

Re: SetGroupHeader( "Title", 1, 2 ) change values to names

oBrw:SetGroupHeader( "Name". oBrw:oCol("FIRST"):nCreationOrder, oBrw:oCol("LAST"):nCreationOrder )
by nageswaragunupudi
Wed Jun 21, 2017 2:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetGroupHeader( "Title", 1, 2 ) values to names (SOLVED)
Replies: 2
Views: 455

Re: FWH: MySql/MariaDB: RowSet object

... cOrder = AllTrim( Lower( aToken[ 1 ] ) ) cType = aToken[ 2 ] AEval( oCol:oBrw:aCols, {| o | o:cOrder := " " } ) IF oQry:aStructure[ oCol:nCreationOrder ][ 1 ] == cOrder IF Upper( cType ) == "ASC" cType = "DESC" oCol:cOrder = "D" ELSE cType = "ASC" ...
by luiz53
Tue May 16, 2017 1:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 20025

Re: Swap entre columnas en xBrowse

... Al intercambiar ó mover las columnas, bien por el usuario ó por llamar a oBrw:SwapCols() o oBrw:MoveCol() no modifica la cebecera de la columna ó nCreationOrder. la function OrdenaColumna( oCol ) está recibiendo un valor erróneo para oCol. Esto se debe a que no se está llamando correctamente a ...
by Antonio Linares
Wed Nov 30, 2016 8:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Swap entre columnas en xBrowse
Replies: 9
Views: 1743

Re: Swap entre columnas en xBrowse

También intenté con oCol : nCreationOrder pensando que esta data guardaba el número de columna en el momento de crear el objeto pero no es así. Las dos primeras columnas del browse son 'CODIGO" y "ALUMNO". Si pico en el ...
by horacio
Tue Nov 29, 2016 9:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Swap entre columnas en xBrowse
Replies: 9
Views: 1743
PreviousNext

Return to advanced search