Page 1 of 1 1
Topic Options
#90964 - 2003-01-13 04:17 PM ListView Control Question
Ghost Offline
Starting to like KiXtart

Registered: 2000-09-14
Posts: 171
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]
_________________________
Who are you? Who slips into my robot body and whispers to my ghost?

Top
#90965 - 2003-01-13 04:19 PM Re: ListView Control Question
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
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


_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#90966 - 2003-01-13 04:20 PM Re: ListView Control Question
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I would point you to kixforms.org

check out phone.kix

in the script archive
_________________________
!

download KiXnet

Top
#90967 - 2003-01-13 04:22 PM Re: ListView Control Question
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
this is getting boring...
at least 20th post I fail to be the first to reply [Frown]
_________________________
!

download KiXnet

Top
#90968 - 2003-01-13 04:23 PM Re: ListView Control Question
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
That's what you get for sharing bbc. [Razz]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#90969 - 2003-01-13 04:24 PM Re: ListView Control Question
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
perhaps you need to build in a delay for all versions of bbchecker but yours [Razz] [Big Grin]
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#90970 - 2003-01-13 04:26 PM Re: ListView Control Question
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
...or maybe get more sleep at night so you can be more alert during the day. [Razz]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#90971 - 2003-01-13 04:26 PM Re: ListView Control Question
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
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!
_________________________
!

download KiXnet

Top
#90972 - 2003-01-13 04:28 PM Re: ListView Control Question
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
why not put a reply button on the form itself
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#90973 - 2003-01-13 04:33 PM Re: ListView Control Question
Ghost Offline
Starting to like KiXtart

Registered: 2000-09-14
Posts: 171
If I could just but in for a second...

Cheers Chaps!

[Smile]
_________________________
Who are you? Who slips into my robot body and whispers to my ghost?

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 382 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.059 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org