Documentazione HotXLS

HeaderSource proprietà

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

Sintassi

proprietà HeaderSource: THeaderSource;

Descrizione

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

Esempio

This example sets HeaderSource proprietà to hsFieldName

DataToXLS1.HeaderSource := hsFieldName;