|
-
December 12th, 1999, 12:35 PM
#1
ListView
Hi,
I am currently working with a listview to display a number of recordsets from a querydef. This querydef contains a field that identifies a recordset as special, if this is set to true I want to mark this entry line in the listview in red. So what I do is declare a variable of type ListItem and a variable of ListSubItem.
I set up a new element in the listview with
set LI = ListView1.ListItems.Add(,,"Text")
And now I want to put the subitems onto the ListSubItem-Variable so that I can set the ForeColor-Property:
set SI = LI.ListSubItems.Add (...)
Whatever I tried, my Visual Studio 6 (german, no service pack yet) returns the error message 'Property not found' for 'ListSubItems' - what am I doing wrong or what is my VS doing wrong ?
Thanks for any help,
Rouven
-
December 29th, 1999, 03:39 PM
#2
Re: ListView
Just if anybody is interested:
I was still using several groups of controls, which included Windows Common Controls 5.0 (SP2) as well as Windows Common Controls 6.0.
But the Controls in my application were of the 5.0-type, so far without my knowledge, but now I removed and replaced them and all the commands described in the MSDN-Libraries work...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|