<div class="meta" robots="noindex">

</div>

# ListBox.HasHeading

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `DesktopListBox.HasHeader<desktoplistbox.hasheader>` as a replacement.

</div>

## Description

If `True</api/language/true>`, a row of column headers is added to the **ListBox**. The user can sort the column by clicking the heading.

## Sample code

The following example shows the Headers row. The code is in the Open event of the control.

``` xojo
Me.HasHeading = True
```

## Compatibility

All projects types on all supported operating systems.
