Page 1 of 4

Library : MoreListiconGadget (only for Windows)

Posted: Fri Jul 04, 2003 8:21 am
by Denis
Hi all,

i've written a lib for ListIconGadget but only for WIndows OS.

The lib is MoreListiconGadget And zip file MoreListiconGadget.zip
There are 14 available commands.

You can get it from this page :

English version with english chm Help file :
http://membres.lycos.fr/dennis25/index_en.html

French version with french chm Help file (avec fichier d'aide en francais)
http://membres.lycos.fr/dennis25/index.html


Commands

Code: Select all

GetColumnAlignment() 
GetColumnHeaderFont() 
GetColumnHeaderText() 
GetColumnsNumber() 
GetColumnWidth() 
GetHeaderID() 
GetListIconGadgetColor() 
SetColumnAlignment() 
SetColumnHeaderFont() 
SetColumnHeaderText() 
SetColumnWidth() 
SetHeader() 
SetListIconGadgetColor() 
ShowColumnsHeader() 
If your PB install path is C:\Program files\Purebasic\ , you just have To unzip the lib in folder C:\

If your install path is different, you must unzip the lib in a temp folder and then copy the unziped folders to your path.
Take a look to Help file, section installation to get infos about folders.
Use F1 key to get infos upon commands (like PB help file).

I've done tests under Win98SE + all update and french coders have tried it under XP Pro and it seems working without problems. If you get some, let me know.


Denis

Posted: Fri Jul 04, 2003 8:57 am
by gnozal
Very usefull : less API stuff to do !
Thanks !

Posted: Fri Jul 04, 2003 9:12 am
by Denis
Tks, :D

That's why i done it... :wink:


Denis

Posted: Fri Jul 04, 2003 12:31 pm
by Kale
Nice work! very helpfull :)

Posted: Fri Jul 04, 2003 5:07 pm
by Searhin
Amazing Work! Thanx for sharing :roll:

Posted: Mon Jul 14, 2003 1:25 pm
by dige
Hi Dennis,
maybe there is a bug in the function: SetListIconGadgetColor(),
because I cant use a Flag.
The compiler says "incorrect numbers of parameters"
It only works with 2 parameters...

cya dige

PS: I use the english version and PB v3.71b2

Posted: Mon Jul 14, 2003 1:30 pm
by dige
dige wrote:Hi Dennis,
maybe there is a bug in the function: SetListIconGadgetColor(),
:wink: ... ups, no bug ... I should read more carefully the manual...

Posted: Mon Jul 14, 2003 3:52 pm
by naw
Hi, Brilliant and best of all so *beautifully* documented as well, if only everyone did their libs so completely ;-)

Posted: Tue Jul 15, 2003 4:45 pm
by Denis
Hi dige, :wink:

may be there are some bugs in my lib (i already fixed one for the next version - there will be some new commands too)

Hi naw,
Tks a lot, and guess what : The doc take half of my time when i was wrinting this libs. :mrgreen:


Denis

Posted: Wed Jul 16, 2003 12:12 pm
by dige
Denis wrote:...there will be some new commands too)
Yeah cool! What about some functions like this:
LIGadgetItemColor() ... to color only one row or one item
LIGadgetItemFont() ... to change fontstyle in one row or colum

Is it possible?

cya dige

Posted: Wed Jul 16, 2003 5:46 pm
by Denis
LIGadgetItemColor() ... to color only one row or one item
LIGadgetItemFont() ... to change fontstyle in one row or colum

Is it possible?

Hi dige,

i'll take a closer look and if it is possible, i will add these commands :wink:

Denis

Posted: Fri Jul 18, 2003 7:20 am
by Searhin
Hi Denis,

are you still working on your magnificent lib? :D
what about a command to set the color of the header? Right now i disable the header with your ShowColumnsHeader(), coz it's so ugly grey...

Posted: Fri Jul 18, 2003 12:40 pm
by Denis
what about a command to set the color of the header? Right now i disable the header with your ShowColumnsHeader(), coz it's so ugly grey...
Hi Searhin,

i've already thinking about to set header color but i didn't find the solution yet. If i find it, i will add it.


Denis

Posted: Sat Aug 09, 2003 7:55 am
by gnozal
Again thanks for this LIB.

Is it possible to change the color of only one cell (not a row, not a column, only a single cell) in a ListIconGadget ?

I'de like something like SetListIconCellColor(#Gadget,Row,Col,Color).

Posted: Sat Aug 09, 2003 5:11 pm
by ebs
gnozal,

If you feel up to working with a window callback routine, check out my code at viewtopic.php?t=6088&start=0.

It's certainly not as neat and easy as using Denis' library, but it works! :wink:

Eric