ShowHeader

Applies to

ListView controls

Description

When the ShowHeader property is enabled, column titles appear in the report view of a ListView control. When ShowHeader is not enabled, column titles do not appear in the report view.

To enable report view in a ListView control, you must write a script that establishes and populates columns. See “Using ListView controls” in Application Techniques for more information about enabling report view.

Usage


In a painter

StepsTo specify a header for report view:

  1. Select the Show Header check box on the General page of the control’s Properties view.


In scripts

The ShowHeader property takes a boolean value. The following line enables display of a header in report view.

lv_1.ShowHeader = TRUE