Search found 23 matches: sortarraydata

Return to advanced search

Re: XBROWSE : SortArrayData (FWH1402)

Hello, I tryed to solve the problem with reactivating oBrw:Refresh() in sortarraydata , but became another problem , see http://forums.fivetechsupport.com/viewtopic.php?f=3&t=28365 So i have added in Method setarray : # ifdef FRANKDEMONT IF ::aDisplay == ...
by nageswaragunupudi
Wed May 07, 2014 7:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : SortArrayData (FWH1402)
Replies: 2
Views: 590

Re: XBROWSE : SortArrayData (FWH1402)

Hello, I tryed to solve the problem with reactivating oBrw:Refresh() in sortarraydata , but became another problem , see http://forums.fivetechsupport.com/viewtopic.php?f=3&t=28365 So i have added in Method setarray : # ifdef FRANKDEMONT IF ::aDisplay == ...
by Franklin Demont
Sun Apr 27, 2014 6:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : SortArrayData (FWH1402)
Replies: 2
Views: 590

Re: FWH1402 : Xbrowse nDatalines

... : oBrw:nRowHeight is 17 When it is set to nil , it receives later the correct value (39) and the browse shows 2 datalines I found the reason : in Sortarraydata i made obrw:refresh() active , this gives obrw:nRowHeight a value before oBrw:nDataRow is set So when i set oBrw:nDataRow , i set also ...
by Franklin Demont
Fri Apr 25, 2014 4:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH1402 : Xbrowse nDatalines
Replies: 1
Views: 370

XBROWSE : SortArrayData (FWH1402)

... , ColAtPos() , .... (uses ::aDisplay) ::aDisplay is not set anymore. Placing some trace's in method setarray , i found that aDisplay was set in SortarrayData , in FWH1303 we see as last line in the IF .... construction : ::oBrw:Refresh() IN FWH1402 : // ::oBrw:Refresh() WHY ???????????? The ...
by Franklin Demont
Fri Apr 25, 2014 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : SortArrayData (FWH1402)
Replies: 2
Views: 590

Re: Ordenar en xBrowse

... por la que no iba a la misma línea en la que estaba luego de ordenar (usando array), era un error en la llamada a la función aScan desde el Method SortArrayData. Con el fin de informar a quienes como yo usamos una versión "viejita" del FWH, copio abajo la pequeña reforma efectuada a la ...
by rolando
Sat May 18, 2013 11:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ordenar en xBrowse - Solucionado
Replies: 6
Views: 1186

Re: XBROWSE ARRAY AUTOSORT

IT seems that at the moment sortarraydata is executed , csortorder was not be set.

Your observation is correct and thanks for pointing out.

Till this is fixed, you may please use the workaround of calling oBrw:aCols[ 1 ]:SetOrder() again manually.
by nageswaragunupudi
Sun Apr 01, 2012 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE ARRAY AUTOSORT
Replies: 6
Views: 1207

Re: XBROWSE ARRAY AUTOSORT

... aWidth; SORT aSort; I checked aCol : 1,2,3,4 aSort: 4,2,3,4 If i understand well , cSortorder from column 1 should be 4 This line invokes ocol:SortArrayData() Placing DBG self , i can see that is ordered from column 1 , but csortorder is not be set to 4 (is 1) After clicking the column header ...
by Demont Brecht
Sun Apr 01, 2012 10:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE ARRAY AUTOSORT
Replies: 6
Views: 1207

Re: Falla en version 11.06

Distinguidos, xBrowse con Array, no ordena al dar click en la cabecera. Saludos, Adhemar Please replace line no. 10998 in the method SortArrayData() of version 11.06. For the line   if Empty( nAt ) .or. ValType( nAt ) == 'N'  please substitute   if Empty( nAt ) .or. ...
by nageswaragunupudi
Mon Jul 25, 2011 4:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Falla en version 11.06
Replies: 3
Views: 580

Re: Autosort on arrays wrong -> XBROWSE!

In the new FWH the XBROWSE-autosort from arrays are with wrong results! Thanks for pointing out. Please replace line no. 10998 in the method SortArrayData() of version 11.06. For the line   if Empty( nAt ) .or. ValType( nAt ) == 'N'  please substitute   if Empty( ...
by nageswaragunupudi
Fri Jul 15, 2011 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Autosort on arrays wrong -> XBROWSE!
Replies: 5
Views: 897

Re: New FTDN March/Marzo 2011 (FWH 11.03)

... TXBrowse (f). En el modo de edición rápida, pulsando '.' también se dispara la edición de los datos numéricos. * Corrección: En xbrowse.prg (c). SortArrayData: Después de la ordenación de una matriz, la fila seleccionada se posiciona en la misma fila antes de la ordenación. * Mejora: En la clase ...
by Antonio Linares
Tue Mar 29, 2011 6:06 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2011 (FWH 11.03)
Replies: 1
Views: 1749

New FTDN March/Marzo 2011 (FWH 11.03)

March 2011 ========== * Enhancement: Class TXBrowse (f) In fast edit mode pressing '.' also triggers edit of numeric data. * Fix: xbrowse.prg (c) SortArrayData: After sorting an array, the selected row is positioned on the same row before sort * Enhancement: Class TSay: unlimited text length in ...
by Antonio Linares
Mon Mar 28, 2011 10:23 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2011 (FWH 11.03)
Replies: 1
Views: 1749

Re: Xbrowse array autosort behaviour

... on the same row before sort. Kindly apply this modification to xbrowse.prg. Please locate the following line of code towards the end of METHOD SortArrayData() of TXBrwColumn:      ::oBrw:nArrayAt   := AScan( ::oBrw:aArrayData, uSave )  Please change this line ...
by nageswaragunupudi
Fri Mar 25, 2011 2:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort behaviour
Replies: 7
Views: 2150

Re: Xbrowse array autosort and seek with secundury keys

... each column its own order , different from the standard (i.e. using UPPER) . It can match with the index expression from a dbf . Only change in SortArrayData is the line ::oBrw:aArrayData := Asort( ::oBrw:aArrayData,,, {|x,y| x[ nAt ] < y[ nAt ] } ) , this would be bOrder := {|x,y| EVAL(::bOrder,x) ...
by Frank Demont
Sun Feb 13, 2011 5:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort and seek with secundury keys
Replies: 2
Views: 1034

Xbrowse array autosort and seek with secundury keys

... TXBrwColumn WITH DATA bOrder After defining the browse : oBrw:aCols[1]:bOrder := {|x|UPPER(TRIM(x[1])+TRIM(x[2]))} There are a few changes in SortArrayData (aSort(oBrw:aArrayData,.....) and in SeekOnArray (nAt := ASCAN(aData , .....) Here some code to test : #include "FiveWin.ch" ...
by Frank Demont
Sun Feb 13, 2011 10:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort and seek with secundury keys
Replies: 2
Views: 1034

Re: Problemas con xBrowse/Array/ordenacion

... ) se */ /* reordena la el Array por "Fecha Toma" */ oGrid:aCols[1]:cOrder := "D" oGrid:aCols[1]:cSortOrder := 1 oGrid:aCols[1]:SortArrayData() Muchas gracias de antemano; JLL
by jll-fwh
Thu Oct 21, 2010 6:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con xBrowse/Array/ordenacion
Replies: 4
Views: 1070
Next

Return to advanced search