From the category archives:

PopUpButton

Setting the corner radius on a Flex PopUpButton control

by Peter deHaan January 31, 2008

The following example shows how you can set the corner radius on the PopUpButton control in Flex by setting the cornerRadius style.
Full code after the jump.

Read the full article →

Setting the vertical gap between a Flex PopUpButton control and its pop up menu

by Peter deHaan January 31, 2008

The following example shows how you can set the gap between a PopUpButton control and its pop up menu in Flex by setting the popUpGap style.
Full code after the jump.

Read the full article →

Creating semi-transparent PopUpButton pop up menus in Flex

by Peter deHaan January 30, 2008

The following example shows you how you can create semi-transparent pop up menus using the Flex PopUpButton control by setting the backgroundAlpha, backgroundColor, and borderStyle styles on the pop up menu.
Full code after the jump.

Read the full article →

Changing the width of the arrow button in a Flex PopUpButton control

by Peter deHaan January 30, 2008

The following example shows you how you can customize the width of the PopUpButton control’s arrow button in Flex by setting the arrowButtonWidth style.
Full code after the jump.

Read the full article →

Adding checkboxes, radiobuttons, and sub-menus to a Flex PopUpButton control’s pop up menu

by Peter deHaan January 29, 2008

In a previous example, “Adding a horizontal separator to a Flex PopUpButton control’s pop up menu”, we saw how you can add horizontal separators to a PopUpButton control’s pop up menu by setting the type attribute to “separator”. So, “what other special types are there?”, you may be asking, as it turns out you can [...]

Read the full article →

Adding a horizontal separator to a Flex PopUpButton control’s pop up menu

by Peter deHaan January 29, 2008

The following example shows how you can add a horizontal separator to a PopUpButton control’s pop up menu in Flex by setting the type attribute to “separator” in the menu’s data provider.
Full code after the jump.

Read the full article →

Setting the width on a Flex PopUpButton control’s pop up menu

by Peter deHaan January 28, 2008

The following example shows how you can set the width of a PopUpButton control’s pop up menu in Flex by setting the width property on the Menu control instance.
Full code after the jump.

Read the full article →

Displaying icons in a Flex PopUpButton control

by Peter deHaan January 24, 2008

The following example shows you how you can add items to a pop up menu in a PopUpButton control in Flex by specifying the iconField property in the PopUpButton control’s nested Menu control.
Full code after the jump.

Read the full article →

Setting alternating item colors on a Flex PopUpButton control

by Peter deHaan January 24, 2008

The following example shows how you can set alternating item colors on a PopUpButton control in Flex by setting the popUpStyleName and alternatingItemColors styles.
Full code after the jump.

Read the full article →

Setting an item’s font weight in a Flex PopUpButton control’s pop up menu

by Peter deHaan January 19, 2008

The following example shows you how you can set the font weight of the item labels in a PopUpButton control’s pop up menu in Flex by setting the popUpStyleName and fontWeight styles.
Full code after the jump.

Read the full article →

Aligning labels in a Flex PopUpButton control’s pop up menu

by Peter deHaan January 18, 2008

The following example shows you how you can align the labels in a PopUpButton control’s pop up menu in Flex by setting the popUpStyleName and textAlign styles.
Full code after the jump.

Read the full article →

Setting the background color and background alpha on a Flex PopUpButton control’s pop up menu

by Peter deHaan January 17, 2008

The following example shows how you can change the background color and alpha of a PopUpButton control’s pop up menu in Flex by setting the popUpStyleName, backgroundAlpha, and backgroundColor styles.
Full code after the jump.

Read the full article →