ListView_Freeware_Version

Filippo

Expert
Licensed User
hi,

new Listview-Library with contextmenu, checkrow ...

The new Listview is in two versions, with and without SQLite-Interface.


02.05.2008:
further information and the latest Version can be found at this link: Listview.dll with and without SQLite-Interface


25.05.2008:
Version 1.0.6.0 with new Example

20.11.2008:
all zip-files are removed. The new version is under this link http://www.basic4ppc.com/forum/additional-libraries/1749-listview-dll-without-sqlite-interface.html#post9571

Ciao,
Filippo
 
Last edited:

magi6162

Well-Known Member
Licensed User
hi,

new Listview-Library with contextmenu, checkrow ...

The new Listview is in two versions, a Freeware and a Professional.
The Professional version isn`t free.
All SQL-functions and SQL-methods are included only in the Professional version.


Ciao,
Filippo
I'll try it , soon
the professional version,
How much does it cost?
Where do I get it?

magi6162
 

alfcen

Well-Known Member
Licensed User
Hi Filippo,
Thanks so much for the latest update!
I had an awamori (kinda grappa) and might be seeing things double, but I believe the lv_SelectionChanged event fires twice again. I have a message box coming up twice under lv_SelectionChanged. The cause could be related to the addition of the context menu. If it is not too much trouble could you please check it?

PS: The Okinawan version of your grappa ain't bad at all :)


Hallo Filippo,
Vielen herzlichen Dank fuer die neuste Version!
Ich habe mir ein awamori (sowas wie grappa) gegoennt und koennte Dinge doppelt sehen, aber ich glaube das lv_SelectionChanged event wird wieder zweimal getriggert. Meine message box unter lv_SelectionChanged erscheint zweimal. Die Ursache koennte an der Ergaenzung des Kontext Menues liegen. Falls es nicht zuviel Muehe ist, koenntes Du bitte nochmal reinschauen?

Ciao
Roberto

PS: Die Okinawa Version Eures Grappa is wirklich nicht uebel :)

To dzt:
Ok, ok Dimitris, that's kinda Ouzo, but not sweet at all :)
 

Filippo

Expert
Licensed User
Hi,
mistakes with event "lv_SelectionChanged" repaired.:sign0013:


Ciao,
Filippo
 
Last edited:

BjornF

Active Member
Licensed User
Filter

Dear Filippo,

thank you for your work. Listview is very nice and easy to work with:sign0098:. One thing which I am missing however is the filter function. Is it in there and I have just not seen it, or is it not included?

If it isn't included then do you have any plans to include it in either the professional or free version?

all the best,

Björn
 

Filippo

Expert
Licensed User
hi BjornF,

I'm happy that you like my library. At the moment I don't have to add you other functions in the Freeware version. I will do, if it is necessary, only improvements. In the professional version the filter function with SQLite is no more a problem.;)


Ciao,
Filippo
 

davelew1s

Active Member
Licensed User
Hi!
I have converted a recent app from a table to listview, it works OK apart from the sort .... does listview support sorting by more than 1 column the same as the tablesort? I've included it, and it does not object but neither does it sort by the second expression.
This is the line:-
lv.TableSort("Hits DESC,Info ASC")
I've also noticed that if sorting with 1 expression and a lot of values in the column to be sorted are the same the sort isn't consistant each sort give a different list even if the values don't change..any thoughts?

Thnaks Dave Lewis.
 

Filippo

Expert
Licensed User
Hi davelew1s,

Unfortunately is not supported by Listview. It can sort only to one columne.


Ciao,
Filippo
 

davelew1s

Active Member
Licensed User
Thanks Filippo! It won't be a problem it just made the table/list look better......
Thanks again Dave.
 

Cableguy

Expert
Licensed User
Hi Filipo...

I'm having trouble with this li, Post #4 version...
I cant sort the table..
I'm using

tabela.tablesort("NºEnc ASC")

but nothing gets sorted..(NºEnc is the name of the column)

Another issue I'm having is that werever I try to set the row color, it only gets "refreshed" and shown, after the first change in the table, ex a RemoveCheckedRow event...
Even if I don't set anycolor, after the first event it gets the odd row color changed...

I'd like to have the color stay the same as the one it has when first created...or set them to have all the same color.
 
Last edited:

Filippo

Expert
Licensed User
Hallo Cableguy,

Could you post here a part of your code?


Ciao,
Filippo
 

Cableguy

Expert
Licensed User
here's my code so far....Almost completed app, only thingmissing is how to sort by the "NºEnc" column, and set the background to stay the same for all the rows...
 

Attachments

Filippo

Expert
Licensed User
Hallo Cableguy,

I have changed your code a little bit and i think it should work now.;)


Ciao,
Filippo
 

Attachments

Cableguy

Expert
Licensed User
Of course....
I forgot that I was first seting the table before I actualy showed it....So no refresh was being done...
Thanks filipo...
btw still can't work out the sorting...and I noticed you didnt do it either(?)...
 

Filippo

Expert
Licensed User
But now ...
:signOops:
 

Attachments

Cableguy

Expert
Licensed User
Got it...
SO With this table control, I have learned that the WERE the commands are run, is VERY imporntant, to acuratly show WHAT we want...
 

berndgoedecke

Active Member
Licensed User
Missing dicription of special-values in the Help-File

Hello Filippo,
the last weeks I tried out your ListView.dll. Because I know that ListView is able to autosize the columns, I searched in the LitView.chm but nothing is in there about autosizing.
It would be helpfull, if the special values for column.width are documented as well.
What I mean is:
lv.Columns(1).Width=-1
'-1 Sizes the column to the widest subitem text

lv.Columns(2).Width=-2
'-2 Sizes the column to the wider of the columnheader text or the
widest subitem text. Secondly, the last column is automatically sized
to the remaining listview width

lv.Columns(0).Width=0
'Hide column 0

Thanks for this very helpfull library.

best regards

berndgoedecke

PS.: Is it possible to get the HeaderClick event without sorting, so that the user come to his own decision what is to do if the header is clicked??
 

Filippo

Expert
Licensed User
Hallo berndgoedecke,

can you translate it for me in german, too ?

(Kannst du es mir auch auf deutsch übersetzen? Ich verstehe nur Bahnhof) :confused:


Ciao,
Filippo
 
Top