F > FListBox.getRowCount |
![]() ![]() ![]() |
FListBox.getRowCount
Availability
Flash Player 6.
Usage
myListBox
.getRowCount()
Parameters
None.
Returns
An integer.
Description
Method; returns the number of rows visible in the list box. This method is useful for determining how many rows are displayed in a list box that is scaled in pixels.
Example
The following code returns the number of rows visible in toyList
and sets the value to the variable rowCount
.
var rowCount = toyList
.getRowCount();
See also
FListBox.setRowCount
, FListBox.setSize
![]() ![]() ![]() |