1. Computing & Technology

Discuss in my forum

Zarko Gajic

How To Auto Size Run-Time Added TListView Columns

By , About.com GuideJanuary 10, 2012

Follow me on:

in TListView :: Here's an interesting problem a user of the Delphi Programming Forum has regarding the use of the TListView control:

"I want to create a list view at run-time. When creating the columns, I cannot successfully auto-size one column by assigning the AutoSize value (to true) ... The Help states to assign TListColumn.Width := -2 and that should somehow automatically resize the column, but there is a drawback, the resizing process is too obvious, it causes the list view to blink (especially when there is a significant amount of data record inside)...."

Read the full article to learn how to Auto Size Run-Time Added List View Columns

Related:

Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Related Searches auto size run time

©2012 About.com. All rights reserved.

A part of The New York Times Company.