Ghost
(Starting to like KiXtart)
2003-01-13 04:17 PM
ListView Control Question

I've been banging my head against the wall now all afternoon now.

I want to create a two column listview with titles in one and values in the second.

However, I cannot get my head around it. I have scoured the board in search of the code I'm looking for, but their are no examples of it.

[Smile]


Radimus
(KiX Supporter)
2003-01-13 04:19 PM
Re: ListView Control Question

code:
 
$List = $Form.ListView()
$List.Bounds = 10,$check.bottom +10,480,$Form.ClientHeight - 200
$List.Sorted = 1
$List.MultiSelect = True
$List.GridLines = True
$List.View = 3
$List.FullRowSelect = True
$List.OnClick = "Single_Click()"
$List.OnDoubleClick = "Double_Click()"

$_ = $List.Columns.Add("PC Name")
$_ = $List.Columns.Add("Engine")
$_ = $List.Columns.Add("Dat Version")
For Each $Column In $List.Columns
$Column.Width = ($List.ClientWidth-15) / $List.Columns.Count
Next




LonkeroAdministrator
(KiX Master Guru)
2003-01-13 04:20 PM
Re: ListView Control Question

I would point you to kixforms.org

check out phone.kix

in the script archive


LonkeroAdministrator
(KiX Master Guru)
2003-01-13 04:22 PM
Re: ListView Control Question

this is getting boring...
at least 20th post I fail to be the first to reply [Frown]


Les
(KiX Master)
2003-01-13 04:23 PM
Re: ListView Control Question

That's what you get for sharing bbc. [Razz]

Radimus
(KiX Supporter)
2003-01-13 04:24 PM
Re: ListView Control Question

perhaps you need to build in a delay for all versions of bbchecker but yours [Razz] [Big Grin]

Les
(KiX Master)
2003-01-13 04:26 PM
Re: ListView Control Question

...or maybe get more sleep at night so you can be more alert during the day. [Razz]

LonkeroAdministrator
(KiX Master Guru)
2003-01-13 04:26 PM
Re: ListView Control Question

mmm...
that would be cheating, wouldn't it?

but I certainly will add a key-feature to my checker which yours don't have.

the reply will always come in 20 seconds from the original post...
even though I'm away...

so, how do you like them apples!


Radimus
(KiX Supporter)
2003-01-13 04:28 PM
Re: ListView Control Question

why not put a reply button on the form itself

Ghost
(Starting to like KiXtart)
2003-01-13 04:33 PM
Re: ListView Control Question

If I could just but in for a second...

Cheers Chaps!

[Smile]