or use a different component like
TMSGrid or DevExpress grid
Main Topics
Browse All TopicsHow can I change a single ListItem's height in a ListView?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
imho, not possible
and for custom drawing ... mostly requires a lot of time and fine tuning
imho, this is time better spent learning on a advanced component
(it does take time to learn how to work with other components)
and the bonusses you get with the extra component far outweigh the extra's you get with custom drawing
there is off course allways the issue for @home or @work
@home ... free components usually get the upperhand
(difficult to explain to the wife why you want the new grid component)
@work ... just put the features and the time needed for both in a excel, with the hourly rate
(custom drawing will allways be more expensive ...)
and your manager should be easily convinced.
devexpress has all you need for this
with 1 event : OnGetCellHeight (for certains views, each cell can be individually set)
probably TMSGrid too (don't have that)
maybe some other free grids have this too.
like rowgrid in here : http://www.torry.net/pages
takes about 1-3 days to set that up with devexpress
(depending on the knowledge and experience and number of listviews)
i modified an app from 80 listviews to all devexpress grids in 20 days
i still sweat just thinking about that
but the extra's you get are well worth time/money spent
some of them found the filtering and totalisation options
nothing i programmed in, just added a cxpopupmenu to the active grid
they were overjoyed with this, and starting using it extensively
then they wanted those grids in all the apps (200+), that gave us a headache ...
i believe tms has the same features
i'm not trying to advertise, just saying you may get more than you thought if you do it.
i still think what you are trying with listview is impossible :<
it is indeed very complex to start with
you really need to dig in this component to get to know it
I stepped back from it 2 years back when they bought devex quantumtree here
looks like you can do it with downloading the VirtualTreeView and
the extra EditLink components:
http://www.soft-gems.net/s
There is a lot more documentation now on the site
The key part is understand the way it loads to paint.
It is very fast in drawing as it only gets the data it needs to show on screen.
and off course understanding the record per node structure
i used 1 variable in the record as a object
later on changing the object type is all you need to do add more data to the treeview
I'd have to explain in detail how the app works, there's no need. I just change the row or item color on the ondraw events and draw directly to the LV canvas to draw the bars.
Thinking of adding/removing a few blank rows at run-time when I select an item, just after the one selected and scroll up enough to place the panel with controls there, but it's a kinda dirty solution.
i don't understand why you delete this Q
in your remark as to why to delete,
you state it can't be accomplished what you want
i posted just that in my first remark:
http://#25097357
according to ee rules you should accept that comment
also stated in http://25100667
so should accept both those comments instead of deleting
Hi, changing the font of the item I want bigger doesn't give me what I want (larger height of an item without changing the appearance, with the rest of the item below the text in blank).
http://i28.tinypic.com/hs6
I opted to continue using a panel outside the listview like I was using before, as commented in 25168762
Well, we are at a loss to why you didn't modify your application to use a grid as we suggested, I began working on it using a plain stringgrid but you wouldn't give me enough information so I actually blame you for not being able to come up with a workable solution. It is NOT as difficult as you think to do this using a grid.
When you post questions here, you expect to get a solution but that also means that *we* expect you to provide us with info on what it is you really want and to also provide us with data, if required and to answer other questions.
While Geert_Gruwez has objected to your asking that the question be deleted, I won't. I just hope you have learned a lesson in using E-E because if you ask another question, expect the same from us. And if you don't provide us with what we ask, you, again, won't get a solution.
Remember, we do this for free, if you want it all coded for you, contact a contract programmer via rent-a-coder or elance.
Hi, I'm ok with accepting your contributions as answer (is multiple accept gone?, can only see "Accept as solution" atm), although my intent is still the same, do what I asked with a ListView, I don't wanna use a grid as stated before for various reasons. I considered further discussing pointless if, from the comments, it really is not possible to do with the ListView, and since there was no code or any major contribution I considered it was acceptable to delete the question given the current outcome. If you consider it wrong, I am sorry, I will still accept and award the points normally as I said. I have been in E-E for 10 years, I'm not new here.
i objected to the question because it actually shows that it can't be done.
When other people ask the same question they may stumble upon this question
or this question can be used as a reference to shortcut a lengthy discussion
This question is just some proof that the way of achieving what you want can't be done.
I understand why you want it with a Listview.
You must have tons of experience with this (MSWindows) component.
And it would indeed be wrong to just drop all that experience and
do this with some other component.
Some components have limits, you ran into a limit of the listview
Maybe MS will alter it's component to allow this in the future.
As EddieShipman suggests it is easier to achieve with a grid component.
And it may be the only way of accomplishing your goal.
i would suggest
http://#25097357
http://#25100667
Business Accounts
Answer for Membership
by: Geert_GruwezPosted on 2009-08-14 at 05:42:51ID: 25097357
i'm still trying to find a solution,
but at first sight ... it's not possible
is this in report style ?
1 possibilty would be set them all bigger and set the fontsize for 1 specific line higher