From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )
aListBox.DefaultRowHeight = newIntegerValue
IntegerValue = aListBox.DefaultRowHeight

Supported for all project types and targets.

Determines the height of every row in the ListBox in points. Every row in the ListBox is always the same height.


Use a value of -1 to have the height automatically determined by the current font size.


This example increases the default row height.

Me.DefaultRowHeight = 35