Tag Archive for 'popup'

26
Feb

Displaying a Tree control as a pop up for a Flex PopUpButton control

The following example shows how you can use a Tree control as a PopUpButton control’s pop up in Flex.

Full code after the jump.

Continue reading ‘Displaying a Tree control as a pop up for a Flex PopUpButton control’

01
Feb

Using a DataGrid control as a pop up in the Flex PopUpButton control

The following example shows you how you can use a DataGrid control as a pop up in a PopUpButton control in Flex.

Full code after the jump.

Continue reading ‘Using a DataGrid control as a pop up in the Flex PopUpButton control’

31
Jan

Reducing the vertical space around a separator in a Flex PopUpButton control’s pop up menu by enabling variable row heights

The following example shows how you can reduce the amount of whitespace around a PopUpButton control’s pop up menu by setting the variableRowHeight property on the menu in Flex.

Full code after the jump.

Continue reading ‘Reducing the vertical space around a separator in a Flex PopUpButton control’s pop up menu by enabling variable row heights’

29
Jan

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

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.

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

28
Jan

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

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.

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

24
Jan

Displaying icons in a Flex PopUpButton control

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.

Continue reading ‘Displaying icons in a Flex PopUpButton control’

18
Jan

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

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.

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

17
Jan

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

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.

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