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
oBrw:aSelected := {}
AEval( oBrw:aArrayData, { |a,i| If( Upper( cFileExt( Trim( a[ 1 ] ) ) ) == "CSV", AAdd( oBrw:aSelected, i ), nil ) }
oBrw:Refresh()
Marc Vanzegbroeck wrote: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?
nageswaragunupudi wrote:Please try
oBrw:bOnRefresh := { || oSay:Refresh() }
where oSay is
@ r,c SAY oSay PROMPT Len( oBrw:aSelected ) SIZE ............. OF oDlg
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 71 guests