It is currently Sat May 25, 2013 7:01 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 429 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 29  Next
Author Message
 Post subject:
PostPosted: Thu Dec 09, 2004 8:39 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Library update

- fixed : sorting process did reset the alignment to the left
- added : function PureLVSORT_SetUserIcons() [see example file n°3]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 10, 2004 8:35 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Yet another library update (the last one I hope)

- changed : now I use CreateDIBitmap_() instead of CatchImage() so no more image library dependence (no chance to interfere with main program).

The locked column feature seems impossible to do, at least with LVM_SORTITEMS and the callback compare function. Sorry !


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 15, 2005 7:44 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Library update
- modified : help file is now CHM
- added : new function PureLVSORT_GetClickedColumn()

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 18, 2005 2:32 pm 
Offline
Addict
Addict

Joined: Mon Jun 07, 2004 7:10 pm
Posts: 846
Location: Bergen, Norway
Can you make a function to detect which sorting direction a column is sorted with, and a function to sort after filesizes(f.exp: 15.02 MB, 5.98 GB 100 KB, 65 B)?

Great PB library.


Last edited by Bonne_den_kule on Wed May 18, 2005 3:34 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed May 18, 2005 3:22 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Bonne_den_kule wrote:
Can you make a function to detect which sorting direction a column is sorted with, and a function to sort after filesizes(f.exp: 15.02 MB, 5.98 GB 100 KB, 65 B)?

I will see for the next version.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 7:41 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Update
- new feature : new column type #PureLVSORT_FileSize for sorting file sizes (examples : "1.23 GB", "235.51 MB", "1021 KB")
- new function : PureLVSORT_SetColumnAlignment()
- new function : PureLVSORT_SetColumnWidth()
- new function : PureLVSORT_GetSortingDirection()

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 9:31 am 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 2853
Location: United Kingdom
Nice (again!) :)

_________________
http://www.SinisterSoft.com <- My Business website
http://www.ReportComplete.com and http://www.ReportPlus.co.uk <- School end of term reports system


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 24, 2005 7:44 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Jul 22, 2003 5:02 pm
Posts: 1496
Location: Nantes, France
exactly what i need, thanx.

_________________
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 24, 2005 8:13 pm 
Offline
Addict
Addict

Joined: Mon Jun 07, 2004 7:10 pm
Posts: 846
Location: Bergen, Norway
Thanks, all the functions I was asking for.
Very nice library.
Good job :P


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 12, 2005 5:53 pm 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 6:14 pm
Posts: 912
Location: Germany (Saxony, Deutscheinsiedel)
First time I tested your lib myself. Thanks for a great lib! :D

A question from me: is it possible to use the LVSort sorting process to automatically do the sorting also in an array/linkedlist, which is related to the #ListIcon?

Else I must re-built my linkedlist manually or search the whole list for matching items after the user has choosen an item of the ListIcon. Would be nice, if here would be a possibility to "sync" both processes. :wink:

_________________
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 19, 2005 7:19 pm 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 6:14 pm
Posts: 912
Location: Germany (Saxony, Deutscheinsiedel)
No one have an idea? :roll:

I thought, there is maybe a solution which can be integrated in the callback. But propably only gnozal can help because of his internal knowledge of the PureLVSORT lib. :D

_________________
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 22, 2005 2:12 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Andre wrote:
A question from me: is it possible to use the LVSort sorting process to automatically do the sorting also in an array/linkedlist, which is related to the #ListIcon?

LVSort uses the #LVM_SORTITEMS message, so it directly sorts the gadget without knowing anything about arrays or linked lists.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject: This stuff is just great
PostPosted: Thu Jun 23, 2005 2:46 am 
Offline
PureBasic Protozoa
PureBasic Protozoa
User avatar

Joined: Fri Apr 25, 2003 3:08 pm
Posts: 3011
Thanks Gnozal, you have no idea just how much help your library is. It just rocks!

_________________
Resist FaceBorg or have your ass laminated!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 22, 2005 4:23 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Update

What's new :
- fixed a bug in date sorting (I was using PB date functions, wich don't work for older dates)
- some optimizations

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 23, 2005 4:09 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Jul 22, 2003 5:02 pm
Posts: 1496
Location: Nantes, France
hello gnozal,

i like the #PureLVSORT_DateDDMMYYYY flag.
i use it very very often but i need a little bit more powerful flag.

in fact, i need to display in a column a datetime like this :
DD/MM/YYYY HH:MM:SS or DD.MM.YY HH:MM

So is it possible to add DATETIME and TIME sorting ?

regards.

_________________
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 429 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 29  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye