Microsoft SDK for Java

ListBox.getPreferredHeight

Retrieves the combined height, in pixels, of all the items in the list box.

Syntax

public final int getPreferredHeight()

Return Value

Returns the combined height, in pixels, of all items in the list box.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.