AutoArrange

Applies to

ListView controls

Description

When AutoArrange is enabled, PowerBuilder arranges icons automatically in large and small icon views.

Usage

In a painter

To enable automatic icon arrangement:

  • Select the AutoArrange check box on the General page of the ListView control's Properties view.

In scripts

The AutoArrange property takes a boolean value. The following line specifies automatic arrangement of icons in a ListView.

lv_1.AutoArrange = TRUE