Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Code Samples & Tips > Additional Libraries
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.


ListView_Freeware_Version


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 02-11-2008, 08:35 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,092
Default

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.
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

Last edited by Cableguy : 02-11-2008 at 08:39 PM.
Reply With Quote
  #12 (permalink)  
Old 02-12-2008, 05:52 PM
Filippo's Avatar
Senior Member
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 197
Default

Hallo Cableguy,

Could you post here a part of your code?


Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
PPC: HTC Touch Diamond, 4GB
______________________
Reply With Quote
  #13 (permalink)  
Old 02-13-2008, 12:00 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,092
Default

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...
Attached Files
File Type: zip sample.zip (20.8 KB, 9 views)
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #14 (permalink)  
Old 02-13-2008, 06:33 PM
Filippo's Avatar
Senior Member
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 197
Default

Hallo Cableguy,

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


Ciao,
Filippo
Attached Files
File Type: zip sample.zip (21.0 KB, 14 views)
__________________
PPC: MDA Pro, 2GB SD
PPC: HTC Touch Diamond, 4GB
______________________
Reply With Quote
  #15 (permalink)  
Old 02-13-2008, 06:51 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,092
Default

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(?)...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #16 (permalink)  
Old 02-13-2008, 07:09 PM
Filippo's Avatar
Senior Member
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 197
Default

But now ...
Attached Files
File Type: zip sample.zip (21.0 KB, 21 views)
__________________
PPC: MDA Pro, 2GB SD
PPC: HTC Touch Diamond, 4GB
______________________
Reply With Quote
  #17 (permalink)  
Old 02-13-2008, 07:39 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,092
Default

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...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
Old 03-20-2008, 06:02 PM
davidcoderlab
This message has been deleted by davidcoderlab.
  #18 (permalink)  
Old 05-02-2008, 03:11 PM
Knows the basics
 
Join Date: Dec 2007
Posts: 64
Default 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??
Reply With Quote
  #19 (permalink)  
Old 05-02-2008, 04:05 PM
Filippo's Avatar
Senior Member
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 197
Default

Hallo berndgoedecke,

can you translate it for me in german, too ?

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


Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
PPC: HTC Touch Diamond, 4GB
______________________
Reply With Quote
  #20 (permalink)  
Old 05-02-2008, 06:06 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 562
Default

Hi Filippo,

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


specci48
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:31 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0