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

property AlignCenterItem: TMenuItem;  

The AlignCenterItem property points to the menu item, in the custom PopupMenu for header sections. When user clicks this menu item, the alignment of column will be automatically changed to taCenter.  
tip You don't need to handle the OnClick event for this menu item, all operations will be performed automatically.  

See also
PopupMenu, AlignLeft and AlignRight properties.