Control : PopupStyleButton
![]()
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
Specialized Properties
- Absorb Input Events
- Align Left
- Alignment
- Close Cascades
- Form Interface
- Framed Resource
- Framed Size
- Handle OnClick
- Ignore in Popup Sizing
- Image
- Images
- Label Order
- Max Compute Count
- No ScrollBars
- Popup Delay
- Popup Height
- Popup On Flyover
- Popup On Root
- Popup Width
- Position At Mouse
- Sticky
- Text
- Veil Color
- Veil Opacity
- Vertical
Unique Properties
- None



