|
-
Feb 14th, 2000, 04:57 PM
#1
Thread Starter
Member
I do not really know how to explain what I am looking for, it for the
design aspects sort of thing, it like a list seperator I guess you
could call it. the find files in windows uses what I want so I have
taken a screen shot of what I am looking for it can be found at http://n0-access.hypermart.net/Examp.gif , I have seen this in vb apps before I
am not sure which ocx it is in or is done with the property value???
I am not looking for colums value, but the thing at the top the sort
of tool bar thing that tells you the value of each thing, in my
screen shot of what I am looking for the names are: "name" "infolder"
"size" "type", how do I add this sort of thing to a list box?
Is it the Microsoft Windows Common Control 5??? because with that tool
bar, it won't let me make the height of this tool bar anything other
than 540.28 when I have the captions filled in it will let me resize
them when the caption for each button is blank but as soon as I put in a
value for the caption it resizes it to 540.28 is there anyway to get
around that???
Also how do you put a value into the next column of a list box?
------------------
Mooose
-
Feb 14th, 2000, 09:02 PM
#2
The object your trying to look for is (listview) i think, This object is the same on this website http://n0-access.hypermart.net/Examp.gif. i have used many times the trick in my projects.
example:
set by the properties of the listview object
listview.view=3
and now use this codes.
listview.ListItems.Add , , "Greetings"
listview.ListItems.Item(0).ListSubItems.Add , , "Hi"
listview.ListItems.Item(0).ListSubItems.Add , , "Bye"
listview.ListItems.Item(0).ListSubItems.Add , , "Cya"
-
Feb 14th, 2000, 09:10 PM
#3
I forgot to tell ya. you have to create collumns first before your gone place values.
example:
listview.ColumnHeaders.Add , , "Col 01", 1200
listview.ColumnHeaders.Add , , "col 02", 1200
listview.ColumnHeaders.Add , , "col 03", 1200
listview.ColumnHeaders.Add , , "col 04", 1200
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
|