Search found 119 matches: aselected

Return to advanced search

Re: send data to excel with some condition from xbrowse

... )->( DBEVAL( { || AAdd( aRecNo, RECNO() ) }, { || your condtion } ) )  b) Assign oBrw:aSelected := aRecNo c) oBrw:ToExcel() d) Clear oBrw:aSelected := {} To see how the second method works, first test this small sample XBROWSER "STATES.DBF" ...
by nageswaragunupudi
Thu Jul 23, 2020 3:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: send data to excel with some condition from xbrowse
Replies: 2
Views: 617

Re: error on xbrowse footer

... a test and it seems you can use a bitmap and make areas. Here you pass an array with the selected objects - in my case rooms: function main local aSelected := {101,104,107} TEMPLATE PARAMS aSelected and here you // read selection from prg into variable: selected var selected = <?prg return ...
by Otto
Wed Apr 29, 2020 7:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: error on xbrowse footer - RESOLVED! -
Replies: 33
Views: 3744

Re: COMO IDENTIFICAR REGISTROS MARCADOS EN XBROWSE

Hola,

no te funciono xq accedes a arraydata y tenes q acceder a oBrw:aSelected ej:

if LEN(oBrw:aSelected) > 0
FOR EACH nPos IN oBrw:aSelected
? oBrw:aArrayData[ nPos, 01 ], oBrw:aArrayData[ nPos, 02 ]
NEXT
endif

Saludos.
by Ariel
Tue Feb 04, 2020 10:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO IDENTIFICAR REGISTROS MARCADOS EN XBROWSE
Replies: 5
Views: 1265

Re: COMO IDENTIFICAR REGISTROS MARCADOS EN XBROWSE

... } ; ARRAY aArticulos agrego una columna inicial para el checkbox WITH OBJECT oBrw:InsCol( 1 ) :bEditValue := { || AScan( oBrwPed:aSelected, oBrwPed:Bookmark() ) > 0 } :SetCheck( ,.F.,{'','',''}) :cHeader := 'Sel' END genero el browse y hago un xbrowse(oBrw:aArraydata) aparecen ...
by rterraz
Sun Feb 02, 2020 3:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO IDENTIFICAR REGISTROS MARCADOS EN XBROWSE
Replies: 5
Views: 1265

Re: COMO IDENTIFICAR REGISTROS MARCADOS EN XBROWSE

Hola,

probaste :

FOR EACH nRec IN oBrw:aSelected

? oBrw:aArrayData[ nRec,1 ], oBrw:aArrayData[ nRec,2 ], ....

NEXT

Saludos
by Ariel
Sat Feb 01, 2020 10:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO IDENTIFICAR REGISTROS MARCADOS EN XBROWSE
Replies: 5
Views: 1265

COMO IDENTIFICAR REGISTROS MARCADOS EN XBROWSE

... con esto: tengo un xbrowse de un ARRAY con una columna agregada para usar checkbox WITH OBJECT oBrw:InsCol( 1 ) :bEditValue := { || AScan( oBrw:aSelected, oBrw:BookMark ) > 0 } en determinadas circunstancias necesito hacer un aEval(oBrw:aArrayData) e identificar que registros son los que ...
by rterraz
Fri Jan 31, 2020 4:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO IDENTIFICAR REGISTROS MARCADOS EN XBROWSE
Replies: 5
Views: 1265

Re: Multiple Cell Selection

Leandro, gracias por responder. Lo que posteaste es la multiseleccion de registros ( aSelected ). Lo que pretendo es poder seleccionar varias celdas, a la vez. Por ejemplo al hacer CTRL + RCLICK sobre cualquier celda, que agregue a un array ( aSelectedCells ) los ...
by FranciscoA
Mon Dec 16, 2019 2:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Multiple Cell Selection
Replies: 5
Views: 817

Re: Un problemita con TTreeView

Gracias al Cristobal Navarro. pongo el codigo completo. muchas gracuas #include "xbrowse.ch" Static aSelected := {} Static oTree //----------------------------------------------------------------------------// Function Main() local oDlg, oImageList, n, ncargo local oBtt2 ...
by jbrita
Wed Feb 20, 2019 11:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un problemita con TTreeView
Replies: 14
Views: 3209

Re: checkbox on xBrowse with surplus info

... modification to your program you get something similar: ... oBrw:SetArray(aData) WITH OBJECT oBrw:InsCol( 1 ) :bEditValue := { || AScan( oBrw:aSelected, oBrw:BookMark ) > 0 } ... Of course, I corrected my program deleting the offending lines ( oBrwO:aCols := {} and oBrwO:SetArray( aOrigen ...
by ellano
Wed Oct 10, 2018 11:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: checkbox on xBrowse with surplus info
Replies: 3
Views: 1022

Re: xBrowse multi selects

Rodrigo, intenta con oBrw:aSelected
by cnavarro
Sat Sep 22, 2018 11:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse multi selects (resolvido)
Replies: 7
Views: 1807

New FTDN April/Abril 2018 (FWH 18.04)

... This method now applies to columns if value is logical even if cDataType is nil. - New method IsSelectedRow() --> .t./.f.: (Same as AScan( ::aSelected, ::bookmark )) - New method SelectRow( nOperation ) --> lSelected. Same as method Select() but works when lMultiSelect is .f.. Useful for ...
by Antonio Linares
Mon Jun 04, 2018 6:34 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2018 (FWH 18.04)
Replies: 1
Views: 2171

Re: check xbrowse from array

I 'm thinking perhaps ... local aselected := {} USE CUSTOMER NEW ALIAS "CUST" SHARED VIA "DBFCDX" Do while .not. cust->(eof()) cText := alltrim(cust->First) IF !Empty( ascan( aTags,cText) ) aadd(aselected,cust->(recno())) ...
by Silvio.Falconi
Tue Apr 17, 2018 2:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check xbrowse from array
Replies: 8
Views: 2164

Re: xBrowse Multiselect - Selectall

nageswaragunupudi wrote:Please try
oBrw:bOnRefresh := { || oSay:Refresh() }

where oSay is

@ r,c SAY oSay PROMPT Len( oBrw:aSelected ) SIZE ............. OF oDlg


Thank you, its working fine.
by Marc Vanzegbroeck
Thu Apr 14, 2016 3:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1365

Re: xBrowse Multiselect - Selectall

Please try
oBrw:bOnRefresh := { || oSay:Refresh() }

where oSay is

@ r,c SAY oSay PROMPT Len( oBrw:aSelected ) SIZE ............. OF oDlg
by nageswaragunupudi
Thu Apr 14, 2016 12:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1365

Re: xBrowse Multiselect - Selectall

Thank you, It's working fine. I want to expand the possibility to deselect all files of one type. Can I just set the value of the aSelected array to 0 for those records, or should I create a new one? I deleted the record in the oBrw:aSelected array, and now it's working also for deselecting ...
by Marc Vanzegbroeck
Wed Apr 13, 2016 1:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1365
PreviousNext

Return to advanced search