Type | Description | |||
ColumnName as String | A string expression that indicates the column's name. The valid values are: 'Name', 'Size', 'Modified', 'Type', 'In Folder'. | |||
String | A string expression that indicates the column's caption using built-in HTML tags. |
In VFP environment, you need to call Object property of the control before calling the ColumnCaption property, else an error occurs.
The ColumnCaption property supports built-in HTML format like follows:
or <font ;31><sha 404040;5;0><fgcolor=FFFFFF>outline anti-aliasing</fgcolor></sha></font> gets:
The following VB sample changes the caption of the 'Name' column':
ExFileView1.ColumnCaption("Name") = "Verzeichnis"
The following C++ sample changes the caption of the 'Name' column':
m_fileview.SetColumnCaption( "Name", "Verzeichnis" );
The following VB.NET sample changes the caption of the 'Name' column':
AxExFileView1.set_ColumnCaption("Name", "Verzeichnis")
The following C# sample changes the caption of the 'Name' column':
axExFileView1.set_ColumnCaption("Name", "Verzeichnis");
The following VFP sample changes the caption of the 'Name' column:
with thisform.FileView1 .Object.ColumnCaption("Name") = "Verzeichnis" endwith