DesktopListBox.PressHeader

From Xojo Documentation

Method

DesktopListBox.PressHeader(column as Integer)

New in 2021r3

Supported for all project types and targets.

Causes the specified DesktopListBox header of the column passed to be pressed, causing a HeaderPressed event to occur. Calling this method does not update the sort direction.

Example

This example presses the first column.

Listbox1.PressHeader(0)