Dokumentacija HotXLS

HeaderSource lastnost

Določa from where to get the text of column header. The default value is hsDisplayLabel. Read/write THeaderSource

Skladnja

property HeaderSource: THeaderSource;

Opis

HeaderSource can be one of these THeaderSource constants
hsDisplayLabel Header from TField.DisplayLabel
hsFieldName Header from TField.Name
hsEmpty Empty header

Primer

This example sets HeaderSource property to hsFieldName

DataToXLS1.HeaderSource := hsFieldName;