Applies to
ListView controls
Description
When the ButtonHeader property is enabled, the column titles in a ListView's report view appear as pushable buttons instead of labels.
Usage
In a painter
To set the ButtonHeader property:
-
Select the ButtonHeader check box on the General page of the ListView control's Properties view.
In scripts
The ButtonHeader property is only relevant to a report view in a ListView control. To enable report view, you must write a script that establishes columns with the AddColumn and SetColumn functions, and then populate the columns using the SetItem function.
See the section called “Using Lists in a Window” in Application Techniques for more information about using report view.
The ButtonHeader property takes a boolean value. The following example specifies a button header for a report in a ListView:
lv_1.ButtonHeader = TRUE