ListView with textboxes

D

David Gordon

Hi Folks,

It's an old question I know but I've had hardly any luck finding information
on Google/groups.

I want to position text boxes and dropdowns in my listview control. I
figured I might be able to do it by adding my additional controls to the
ListView.Controls container and then reposition them according to the column
widths and ListViewItem height but I've run into a few problems:

The column widths are getting reported as -1 because I used the auto-resize
feature
The only way I can see of getting the height of the ListView item is by
looking at its Bounds property which just complains about some "index of -1"
when I try.
The textbox doesn't seem to be getting displayed anyway.

Thanks,

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top