|
-
Mar 25th, 2000, 05:15 AM
#1
Thread Starter
Junior Member
How do I change a listview from
_________
A|XXX|FFF|
_|___|___|
A|YYY|FFF|
_|___|___|
A|ZZZ|GGG|
_|___|___|
to
_________
.|XXX|...|
.|___|...|
A|YYY|FFF|
.|___|___|
.|ZZZ|GGG|
_|___|___| where the .(dot) represents empty space.
PS: For those who can't figure out what I have drawn, please copy and paste the figure to a notepad. Then you will have a better view of what I have drawn.
TIA
-
Mar 26th, 2000, 02:37 AM
#2
Guru
I'm not sure what determines if an entry gets spaces or not, but you can loop thru the items, and use the VB6 replace function to replace your criteria with spaces....
-
Mar 26th, 2000, 09:17 PM
#3
Thread Starter
Junior Member
I think I didn't make myself clear... I'll try to elaborate. (I'm not good in expressing what I want well...) but anyway...
instead of having rows with the same attributes appearing twice, these two rows (or more) merge togther to become one single row. This single row may have any number of columns of subitems (ie. the ColumnHeaders doesn't matter here).
What I want is to merge the rows (of the same column) so that the listview with repeated listitems will look neater.
hopes it clearer now.
Thanks to anyone who can offer any kind of help.
-
Mar 26th, 2000, 10:17 PM
#4
New Member
Hello,
I think it isn't possible since a listview is really a collection of individual rows, not a table with merging abilities.
Try to imagine what it would look like if the user choose to select a row. Quite strange, huh ?
(and anyway, you never saw that, did you ever ?)
I'm even not sure a grid control could do that.
The only ActiveX I know with this ability is the videosoft vsFlexGrid control... but it's not free ! (
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
|