Control : PopupStyleButton

Page Status: Beta
Jump to: navigation, search

Back to Controls

Contents

Description

The PopupStyleButton is a StyleButton that, when clicked (left- or right-click), causes a menu to appear (similar to the menus that appear when you right-click on the screen).

Click on the PopupStyleButton (with either the left or the right mouse button) to make the menu appear. Once you've chosen an option from the menu, it disappears again.

How To

For a detailed example of how to use the control, see the tutorial...

IMPORTANT: You must set the Popup Height and Popup Width properties to values equal to or larger than the size of the popup form in order to see the popup.  The default values of -1 do NOT automacitally size the popup to fit the form.

Limitations

When placed above an embedded Flash movie or Java applet your Popup border (Chrome) may not appear.  This is because in older browsers attempts to place a DHTML layer on top of a Flash layer will fail.

Newer browsers add the ability to layer Flash content with DHTML using the WMODE parameter, which will allow your popup border to appear.

If you use an OBJECT tag, add this child element:

<param name="wmode" value="transparent">

If you use an EMBED tag, add this attribute:

wmode="transparent"

This WMODE fix appears to work with newer browsers in Windows and Mac, but not consistently with browsers under Linux.

Associated Data Types

Associated Interface Types

Required Adapter Types

Associated Properties

Common Properties Index

Specialized Properties

Unique Properties

  • None
    Copyright © 2005 - 2008 Bungee Labs. All rights reserved.