Search found 129 matches: multiselect

Return to advanced search

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: 1357

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: 1357

Re: xBrowse Multiselect - Selectall

Mr Roa,

Do you know how I can show the number of selected items.
Now it shows the previous selected items.
by Marc Vanzegbroeck
Thu Apr 14, 2016 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1357

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 types. ...
by Marc Vanzegbroeck
Wed Apr 13, 2016 1:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1357

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?
by Marc Vanzegbroeck
Wed Apr 13, 2016 9:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1357

Re: xBrowse Multiselect - Selectall

Assuming array browse, please try this:
Code: Select all  Expand view

oBrw:aSelected := {}
AEval( oBrw:aArrayData, { |a,i| If( Upper( cFileExt( Trim( a[ 1 ] ) ) ) == "CSV", AAdd( oBrw:aSelected, i ), nil ) }
oBrw:Refresh()
 
by nageswaragunupudi
Wed Apr 13, 2016 7:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1357

Re: xBrowse Multiselect - Selectall

Thank you, now it's working :D

Another question about selecting rows. Is there a posibility to select records according to a condition.
I want for example select all raws where column 1 is holding the text '.CSV', after pressing a button.
by Marc Vanzegbroeck
Wed Apr 13, 2016 5:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1357

Re: xBrowse Multiselect - Selectall

For this browse please set
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROWMS
by nageswaragunupudi
Tue Apr 12, 2016 9:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1357

xBrowse Multiselect - Selectall

Hi,

I have a multiselect xbrowse of an array, and want to select all items.
I have try oBrw:SelectAll(), but it only works if I allready selected at least 2 items.
Is there an other way to select all items.

I use FWH64 16.03
by Marc Vanzegbroeck
Tue Apr 12, 2016 5:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Multiselect - Selectall
Replies: 8
Views: 1357

Re: multiselect on Xbrowse

Mr Rao, Sorry perhaps you not understood .. I not use wbrowse of Hernan but I converted on 2010 a TMultiselect class ( create for wbrowse) into xbrowse class !!! http://www.eoeo.it/wp-content/uploads/2015/06/xmultiselect.jpg the code sample   oApp():oGrid := TXBrowse()...
by Silvio.Falconi
Thu Jun 04, 2015 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: multiselect on Xbrowse
Replies: 2
Views: 837

Re: multiselect on Xbrowse

If Hernan's wbrowse works well please continue to use it.
by nageswaragunupudi
Thu Jun 04, 2015 12:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: multiselect on Xbrowse
Replies: 2
Views: 837

multiselect on Xbrowse

I tried to insert the option to make a multi selection of record of a xbrowse I allready converte a small class of Hernan Ceccarelli form Wbrowse and it run ok but I wish use only xbrowse methods and i not Know How create the multiselction I wish a checkbox bitmaps ( on /off) at the first column and...
by Silvio.Falconi
Thu Jun 04, 2015 9:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: multiselect on Xbrowse
Replies: 2
Views: 837

Re: To Antonio, oBrw:Multiselect

Francisco,

Aguardemos a los comentarios de Rao que es el gran experto en XBrowse, a ver que nos dice él.

Gracias por tus palabras, ojalá este año 2015 sea un gran año para todos :-)
by Antonio Linares
Wed Jan 07, 2015 9:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: To Antonio, oBrw:Multiselect
Replies: 1
Views: 449

To Antonio, oBrw:Multiselect

Saludos a todos. He tenido el inconveniente siguiente cuando uso MULTISELECT en xBrowse. He buscado en el foro, y he encontrado requerimientos parecidos, pero sin solución: Cuando uso MULTISELECT y utilizo la rueda del raton (arriba abajo), se ve que xbrowse ...
by FranciscoA
Wed Jan 07, 2015 4:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: To Antonio, oBrw:Multiselect
Replies: 1
Views: 449
PreviousNext

Return to advanced search