From Xojo Documentation

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

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

New in 2021r3

Supported for all project types and targets.

Determines the height of every row in the DesktopListBox 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