ListView_Freeware_Version

D

Deleted member 103

Guest
Last edited by a moderator:

alfcen

Well-Known Member
Licensed User
Longtime 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 :)
 
D

Deleted member 103

Guest
Hi,
mistakes with event "lv_SelectionChanged" repaired.:sign0013:


Ciao,
Filippo
 
Last edited by a moderator:

alfcen

Well-Known Member
Licensed User
Longtime User
Confirmed, the problem is solved. Very well done...and ultra-fast :)
 

BjornF

Active Member
Licensed User
Longtime 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
 
D

Deleted member 103

Guest
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
Longtime 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.
 
D

Deleted member 103

Guest
Hi davelew1s,

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


Ciao,
Filippo
 

davelew1s

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

Cableguy

Expert
Licensed User
Longtime 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:
D

Deleted member 103

Guest
Hallo Cableguy,

Could you post here a part of your code?


Ciao,
Filippo
 

Cableguy

Expert
Licensed User
Longtime 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

  • sample.zip
    20.8 KB · Views: 16
D

Deleted member 103

Guest
Hallo Cableguy,

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


Ciao,
Filippo
 

Attachments

  • sample.zip
    21 KB · Views: 25

Cableguy

Expert
Licensed User
Longtime 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(?)...
 
D

Deleted member 103

Guest
But now ...
:signOops:
 

Attachments

  • sample.zip
    21 KB · Views: 31

Cableguy

Expert
Licensed User
Longtime 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
Longtime 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??
 
D

Deleted member 103

Guest
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
 

specci48

Well-Known Member
Licensed User
Longtime User
Hi Filippo,

please read the private message I've send to you. :)


specci48
 

origami

Member
Licensed User
Question on SelectedRow

Hello Fillippo,

First, thank you very much for providing this great DLL library.

I have a question about SelectedRow.
It seems that even if no row is selected, it always give a value. How do you tell the application that no row is selected ?

I have a sub on SelectionChanged, and I cannot distinguish when the user clicks on the column header (for sorting), and when he clicks on a real cell.

Am I making something wrong ?

Thanks for your help

Origami
 
Top