ExplorerListGadget() - Sort ability

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

ExplorerListGadget() - Sort ability

Post by TerryHough »

I would like to see an expansion of the ExplorerListGadget()'s ability to
sort by a selected column when in Report mode

Currently from the documentation

#PB_Explorer_AutoSort : The content will be sorted automatically by name.

Could it be expanded to:
#PB_Explorer_AutoSort_Name to sort by name
#PB_Explorer_AutoSort_Size to sort by size
#PB_Explorer_AutoSort_Type to sort by Type
#PB_Explorer_AutoSort_Date to sort by Modified Date
so the results display already sorted by the selected column.

Thanks,
Terry
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Re: ExplorerListGadget() - Sort ability

Post by Marc56us »

Code: Select all

#PB_Explorer_AutoSort_Name
#PB_Explorer_AutoSort_Size
#PB_Explorer_AutoSort_Type 
#PB_Explorer_AutoSort_Date 
+1
(I don't think it's too much of a stretch to do an “up” 20 years later :mrgreen: ).

There have been several solutions to this problem, but they're just patches.

Since we can now do this by clicking on the column header, this means that the function (API?) must already be present? so it should be easy to add it as option and function?

:?: :wink:
Post Reply