Page 2 of 3

Re: Utility compare directory

Posted: Wed Dec 28, 2016 8:46 am
by D. Schuster
Here is an alternative.
After selection of a directory a list of available file extensions is displayed
at the field 'Define filter'
Dieter

Re: Utility compare directory

Posted: Sun Jan 08, 2017 9:08 pm
by GeneB
Very nice addition.
Thank you for sharing this.
-GeneB

Re: Utility compare directory

Posted: Sun Jan 08, 2017 9:46 pm
by GeneB
Suggestion: a push button to mark/unmark all green files, a similar button to also mark/unmark yellow files, white files, and a way to mark/unmark all files. This would save a lot of mouse clicking.

Re: Utility compare directory

Posted: Wed Jan 11, 2017 3:09 am
by D. Schuster
DS_SYNCHRO5.zip
(388.78 KiB) Downloaded 992 times
Thank for your suggestion. The idea was realized in form of Comboboxes.

Dieter

Re: Utility compare directory

Posted: Wed Jan 11, 2017 9:22 pm
by GeneB
Good change.
'all' is to 'none' wie 'alle' ist zu 'keine'

Re: Utility compare directory

Posted: Thu Jan 12, 2017 5:55 am
by D. Schuster
Thanks for the tranlslation help, please exchange
in line 89 and 90 'No' for 'None'.
Dieter

Re: Utility compare directory

Posted: Sat Jan 14, 2017 6:05 am
by unixkd
Hi

It will be nice to have the browse to show only marked items like :

@ .... DCCHECKBOX lMarkedOnly[1] PROMPT 'Show Only Marked Files in Directory A' ACTION {||DC_GetRefresh(GetList)}
@ .... DCCHECKBOX lMarkedOnly[2] PROMPT 'Show Only Marked Files in Directory B' COLOR GRA_CLR_BLUE ACTION {||DC_GetRefresh(GetList)}

I try using FILTER clause of DBBROWSE but it gives error like:

FILTER {|a| IF(oBrowse1:arrayElement>0, a[11] .And. lMarkedOnly[1], .T.) }

Thanks

Joe

Re: Utility compare directory

Posted: Sat Jan 14, 2017 10:11 am
by rdonnay
Joe -

Upload your latest source.

Re: Utility compare directory

Posted: Sat Jan 14, 2017 12:46 pm
by unixkd
Here it is:

Re: Utility compare directory

Posted: Sun Jan 15, 2017 6:55 am
by D. Schuster
Hi,
The proposal was good and was incorporated. Array element 12 is determinant for the filter, not 11.
Please find attached the new version.
One small problem: I could not define the color for DCCHECKBOX!

Dieter