Search found 121 matches: aselected

Return to advanced search

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

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

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

Select only a record Resolved!!!

...     oBrwCambi:aCols[3]:nWidth   := 70    WITH OBJECT oBrwCambi:InsCol( 1 )      :bEditValue    := { || AScan( oBrwCambi:aSelected, oBrwCambi:BookMark ) > 1 }      :SetCheck()      :nHeadBmpNo    := { || If( Len( oBrwCambi:aSelected ) ...
by Silvio.Falconi
Mon Nov 17, 2014 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Select only a record Resolved!!!
Replies: 2
Views: 418

Re: Add Xbrowse Column at runtime

... @ x,y Xbrowse.... WITH OBJECT oBrw WITH OBJECT oBrw:InsCol( 8 ) :lHide := !lRitenuta :bEditValue := { || AScan( oBrw:aSelected, oBrw:BookMark ) > 0 } :SetCheck() :nHeadBmpNo := { || If( Len( oBrw:aSelected ) == oBrw:nLen, 1, 2 ) } :cHeader := "Rit." END ...
by Silvio.Falconi
Wed Nov 12, 2014 12:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add Xbrowse Column at runtime
Replies: 7
Views: 2556

Re: Add Xbrowse Column at runtime

... I made @x,y button ...action Ins_Ritenuta(oBrw) Function Ins_Ritenuta(oBrw) WITH OBJECT oBrw:InsCol( 8 ) :bEditValue := { || AScan( oBrw:aSelected, oBrw:BookMark ) > 0 } :SetCheck() :nHeadBmpNo := { || If( Len( oBrw:aSelected ) == oBrw:nLen, 1, 2 ) } :cHeader := "Rit." END ...
by Silvio.Falconi
Wed Nov 12, 2014 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add Xbrowse Column at runtime
Replies: 7
Views: 2556

Help for one check xbrowse RESOLVED!!

...     oBrwCambi:aCols[3]:nWidth   := 70    WITH OBJECT oBrwCambi:InsCol( 1 )      :bEditValue    := { || AScan( oBrwCambi:aSelected, oBrwCambi:BookMark ) > 0 }      :SetCheck()      :nHeadBmpNo    := { || If( Len( oBrwCambi:aSelected ) ...
by Silvio.Falconi
Wed Nov 12, 2014 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for one check xbrowse RESOLVED!!
Replies: 1
Views: 516

Re: Multiple selection on a XBROWSE

oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROWMS // multisel does the job

you can mark the lines needed by clicking

then

FOR I = 1 TO LEN(oBRW:aSELECTED) // obrw:aSELECTED is an array containing recnos marked

dbgoto->(oBRW:aSELECTED[I]))
.....
next

Hth

Richard
by Richard Chidiak
Sat Oct 05, 2013 5:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple selection on a XBROWSE
Replies: 4
Views: 1372

Re: XBrowse with Add,Modify,Delete methods (13.07)

... He may like to caution the user with one message to the user for the batch operation and proceed to delete the batch. sample code: AEval( aSelected, { |n| oBrw:BookMark := n, oBrw:Delete() } ) I am proposing to have a Delete() method in TDataRow() also. This enables programmer to delete ...
by nageswaragunupudi
Tue Sep 10, 2013 8:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse with Add,Modify,Delete methods (13.07)
Replies: 5
Views: 3539

Re: XBROWSE RESTRINGIR MULTISELECT

I checked this with current version and also ver 12.04. In my test when we right click oBrw:aSelected is showing all selected records correctly. Please try this sample: #include 'fivewin.ch'#include 'xbrowse.ch'REQUEST DBFCDXfunction main()   local oDlg, ...
by nageswaragunupudi
Fri Sep 06, 2013 4:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE RESTRINGIR MULTISELECT
Replies: 19
Views: 5038

Re: XBROWSE RESTRINGIR MULTISELECT

... the Multi selection First, I selec with shift+clic or ctrl+clic, some registers. after I do right clic (to open a popup), over a selection and ::aSelected only return the last register selected. If I do again with Ctrl pressed. ::aSelected, returned all the registers, but not the register where ...
by MarioG
Thu Sep 05, 2013 5:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE RESTRINGIR MULTISELECT
Replies: 19
Views: 5038

Re: XBROWSE BUSQUEDA INCREMENTAL

... the Multi selection First, I selec with shift+clic or ctrl+clic, some registers. after I do right clic (to open a popup), over a selection and ::aSelected only return the last register selected. If I do again with Ctrl pressed. ::aSelected, returned all the registers, but not the register where ...
by MarioG
Thu Sep 05, 2013 5:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE BUSQUEDA INCREMENTAL
Replies: 6
Views: 3094

Re: XBROWSE RESTRINGIR MULTISELECT

... que: 1.- Al señalar uno de los registros marcados y hacer clic derecho, para abrir un menu secundario y tomar una opcion (borrar x ej.). El ::aSelected contiene un solo registro (el último sobre el que se hizo clic) 2.- Si mantengo la tecla Ctrl presionada y repito el proceso, ::aSelected ...
by MarioG
Mon Sep 02, 2013 1:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE RESTRINGIR MULTISELECT
Replies: 19
Views: 5038

Re: XBROWSE RESTRINGIR MULTISELECT

... si responde mejor tu pregunta y revisa METHOD Select( nOperation ) CLASS TXBrowse, saludos... :shock: lHighLite := ::lMultiSelect .and. ( Ascan( ::aSelected, Eval( ::bBookMark ) ) > 0 ) if ::lMultiSelect .and. ( nStyle == MARQSTYLE_HIGHLROWMS .or. ::nMarqueeStyle == MARQSTYLE_HIGHLWIN7 ) lHighLite ...
by MarioG
Fri Aug 30, 2013 1:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE RESTRINGIR MULTISELECT
Replies: 19
Views: 5038

xBrowse FillRect ( follow up ) -- Rao

... := { nTop, nBottom } aSelCols := { nLeft, nRight } Note: I am using two arrays instead one aRect, because this logic easily enables using oBrw:aSelected. Code: for each oCol in oBrw:aCols SetClrStd( oCol ) next .... .... static function SetClrStd( oCol ) oCol:bClrStd := { || { CLR_BLACK, If( ...
by Rick Lipkin
Wed Jul 03, 2013 1:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse FillRect ( follow up ) -- Rao
Replies: 15
Views: 4409
PreviousNext

Return to advanced search