F > FComboBox.setSize

 

FComboBox.setSize

Availability

Flash Player 6.

Usage

myComboBox.setSize(width)

Parameters

width An integer specifying the width of the combo box, in pixels.

Returns

Nothing.

Description

Method; resizes the combo box to the specified width. (You cannot set the height of a combo box component.) Use this method to programmatically resize the combo box and update it at runtime.

Example

The following code sets or resizes the width of menuMain to 100 pixels.

menuMain.setSize(100);

See also

FComboBox.setRowCount