Search found 121 matches: aselected

Return to advanced search

Re: FWH 2102: XBrowse:SetMultiSelectCol()

Is aSelected() used for the selections in the new way ? I use this kind of functions many times Function markselected(oBrw4)      if master->(flock())        FOR I = 1 TO LEN(oBRW4:aSELECTED) ...
by Marc Venken
Thu Mar 25, 2021 4:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2102: XBrowse:SetMultiSelectCol()
Replies: 17
Views: 2408

New FTDN February/Febrero 2021 (FWH 21.02)

... selection. Shift-click selects all rows from the last selection till the current row. Click on header toggles selection of all rows. - When oBrw:aSelected has only one record, all rows are sent to report/excel. Fixed. * TGRAPH: - New method Define() supported by new command DEFINE GRAPH to create ...
by Antonio Linares
Wed Mar 24, 2021 8:56 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2021 (FWH 21.02)
Replies: 2
Views: 1485

Re: Change oBrw:aSelected outsite xbrowse

Thanks for sending me in the correct direction !!

In every lookup function (afther selection)
I will add records to the array with a dbeval(....aadd()..)
by Marc Venken
Sat Mar 20, 2021 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change oBrw:aSelected outsite xbrowse
Replies: 2
Views: 351

Re: Change oBrw:aSelected outsite xbrowse

Purpose of oBrw:aSelected is totally different. What you want is you prepare an array of record numbers, which you want to show in xbrowse. In this sample, aRecs represent the array aSelected you are referring to: #include "fivewin.ch"function ...
by nageswaragunupudi
Fri Mar 19, 2021 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change oBrw:aSelected outsite xbrowse
Replies: 2
Views: 351

Change oBrw:aSelected outsite xbrowse

Can we change the status of aSelected? The idea is that I call several functions (one by one) with a different ordscope() selection. The result records of that selection should be set to .t. in de aSelected Next again a ordscope with other ...
by Marc Venken
Fri Mar 19, 2021 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change oBrw:aSelected outsite xbrowse
Replies: 2
Views: 351

Re: error on print aselected

Nages,
I have seen that if I select a record towards the end of the archive, he prints from that record onwards (until the end of the archive)
it is as if it uses the selected record to assign a point (goto nrecord)
by Silvio.Falconi
Fri Feb 12, 2021 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: error on print aselected
Replies: 2
Views: 280

Re: error on print aselected

Yes. This is an issue.
We will look into this.
by nageswaragunupudi
Mon Feb 08, 2021 7:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error on print aselected
Replies: 2
Views: 280

error on print aselected

If I have a xbrowse and select only one customer https://i.postimg.cc/L4BZR0Xb/test.png and then press the button for print sample easy DEFINE BUTTON OF oBar PROMPT "Print" ACTION oBrw:Report() it print all customers and not one ( that selected ), why ? and on preview I saw...
by Silvio.Falconi
Mon Feb 08, 2021 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: error on print aselected
Replies: 2
Views: 280

Re: Tree con xBrowse

aSelected contains record numbers. aSelected and Tree do not go together. The record positions in a Tree are volatile (not fixed) and keep changing when tree nodes are opened and closed. aSelected works for datasource where ...
by nageswaragunupudi
Thu Feb 04, 2021 3:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tree con xBrowse
Replies: 4
Views: 404

Re: Tree con xBrowse

Horacio,

Prueba esto:

oXBrowse:oTree:Scan( { | oItem | If( AScan( ::aSelected, oItem ) != 0, MsgInfo( oItem:cPrompt ),) } )
by Antonio Linares
Thu Feb 04, 2021 7:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tree con xBrowse
Replies: 4
Views: 404

Tree con xBrowse

Amigos, generé un tree con xbrowse. Necesito seleccionar todos o alguno de los nodos. Para la selección utilizo ::aSelected que trae xBrowse, este me devuelve un array con las posiciones de los elementos seleccionados pero no encuentro la manera de recorrer el árbol de acuerdo a ...
by horacio
Wed Feb 03, 2021 7:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tree con xBrowse
Replies: 4
Views: 404

Re: Como me refiero al total de una columna

... he modificado asi: Esto, @05, 80 BUTTON "Borrar todo" OF oDlg SIZE 60,12 PIXEL ; ACTION ( oBrw:aArrayData := {}, oBrw:MakeTotals(),oBrw:aSelected:={},oBrw:Select(1), oBrw:Refresh(), n := 0 ) WHEN oBrw:nLen > 0 por esto: @05, 80  BUTTON "Borrar todo"  OF oDlg  SIZE 60,12 ...
by FranciscoA
Fri Nov 13, 2020 10:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como me refiero al total de una columna (SOLUCIONADO)
Replies: 8
Views: 948

Re: Como me refiero al total de una columna

... }) } :nRecSelColor := oApp:nRowParClr :lDisplayZeros := (.F.) WITH OBJECT :Arriendo :cOrder := "A" :bFooter := { || Len( oBry:aSelected ) } END WITH OBJECT :Importe :nFooterType := AGGR_SUM :bSumCondition := { || AScan( oBry:aSelected, oBry:BookMark ) > 0 } :cFooterPicture:= ...
by Armando
Fri Nov 13, 2020 2:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como me refiero al total de una columna (SOLUCIONADO)
Replies: 8
Views: 948

Re: Como me refiero al total de una columna

Hola, Podes probar : 1) el total de lo seleccionado con : if LEN(oBrw:aSelected) > 0 // ya tenes al menos 1 reg seleccionado. 2) el total de la columna if oBrw:importe:nTotal > 0 // ya tenes al menos 1 mov con importe mayor a 0 para esto tene en cuenta ...
by Ariel
Fri Nov 13, 2020 9:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como me refiero al total de una columna (SOLUCIONADO)
Replies: 8
Views: 948

change on line a combo

... := .f. at the beginning I insert a column to create the setcheck WITH OBJECT oBrw:InsCol(1) :nwidth:= 30 :bEditValue := { || AScan( oBrw:aSelected, oBrw:BookMark ) > 0 } :SetCheck( nil, .t.) end :bLDblClick := { || oBrw:oCol( 1 ):CheckToggle(), oBrw:RefreshCurrent() } if the user moves ...
by Silvio.Falconi
Thu Nov 12, 2020 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 5391
PreviousNext

Return to advanced search