Jump to content
Sign in to follow this  

ListView Multiple Columns overlapping text

Recommended Posts

I have a listview on a form that is sizable. i hard coded 5 columns to it but when different users with different monitors, laptops the columns overlap the text. is there a way to detect when text overlaps and then i could reduce the number of columns and refresh the listview. the text that is displayed is file names but depending on the users that info could be longer than the others.

i would rather not hard code the # of columns but i don't know when to trigger the increase/decrease the number of columns.

Share this post

Link to post

Never mind i just went with a specific width for columns of 150. livstview.width div 150 = number of columns.

so far everyone seems to be happy with it.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this