ListView controls
When AutoArrange is enabled, PowerBuilder arranges icons automatically in large and small icon views.
To enable automatic icon arrangement:
Select the AutoArrange check box on the General page of the ListView control’s Properties view.
The AutoArrange property takes a boolean value. The following line specifies automatic arrangement of icons in a ListView.
lv_1.AutoArrange = TRUE