Author Topic: Filter range for Numeric Custom Field / Property Handler  (Read 8532 times)

0 Members and 1 Guest are viewing this topic.

Antoine

  • Guest
Filter range for Numeric Custom Field / Property Handler
« on: July 31, 2011, 05:05:12 PM »
First, I'd like to say PDF-ShellTools is very useful and time saver !
To make it perfect to me, I have several suggestions to make.
Here is the third (and most complex) one :
- Could a Double type Custom Field be filtered in Detail view by (automatic) range ?
I have a custom fields 'Amount'. It would be perfect to be able to filter file by ranges (like : 0-100 ; 100-200 ; 200-500 ; Up 500).
The range could be computed automatically or (at least) be configured in settings.

RTT

  • Administrator
  • *****
  • Posts: 918
Re: Filter range for Numeric Custom Field / Property Handler
« Reply #1 on: August 01, 2011, 05:26:52 PM »
I suppose it would be something as used for the system.size, but until now, and playing with the typeInfo groupingRange attribute and displayInfo.enumeratedList.enumRange, I found only a way to crash the Shell!!
Let me know if you have more success.

Antoine

  • Guest
Re: Filter range for Numeric Custom Field / Property Handler
« Reply #2 on: August 01, 2011, 06:10:47 PM »
Same for me here ! Impossible to make groupingRange, enum and enumRange working properly...

Antoine

  • Guest
Re: Filter range for Numeric Custom Field / Property Handler
« Reply #3 on: August 01, 2011, 06:12:44 PM »
Seems typeInfo type = UInt64 only, no ?

Antoine

  • Guest
Re: Filter range for Numeric Custom Field / Property Handler
« Reply #4 on: August 01, 2011, 10:56:22 PM »
I am now able to make enum & enumRange work.
However, when I set typeInfo groupingRange from "Discrete" to "Enumerated" and try to filter, Explorer still crashes.

RTT

  • Administrator
  • *****
  • Posts: 918
Re: Filter range for Numeric Custom Field / Property Handler
« Reply #5 on: August 01, 2011, 11:09:05 PM »
Quote
Seems typeInfo type = UInt64 only, no ?
You can set the typeInfo type to UInt64. The system will convert without problem.
Quote
I am now able to make enum & enumRange work.
Work in the filter and group functionalities?!
Please share your PDFShellTools.propdesc file.
Quote
However, when I set typeInfo groupingRange from "Discrete" to "Enumerated" and try to filter, Explorer still crashes.
Enumerated?! I don't see that value as possible for this attribute. Only Discrete, Alphanumeric, Size, Date, TimeRelative, Dynamic, and Percent.
In my case only crash if set to Size, the one I think would work.