listview BestFitItem property
Return to Introduction  Previous page  Next page
Applies to
acListView and acDBListView components as subproperty of HeaderMenu structure.  

property BestFitItem: TMenuItem;  

The BestFitItem property points to the menu item, in the custom PopupMenu for header sections. When user clicks this menu item, all columns will be automatically adjusted thus all the columns will fit the text of subitems, so all text in list items will became visible.  
tip You don't need to handle the OnClick event for this menu item, all operations will be performed automatically.  

See also
PopupMenu property and BestFit method.