PopupMenu

From REALbasicWiki

Jump to: navigation, search
Overall article skill Skill ranges from beginner (green) to expert (red)
PopupMenu class
Available on Mac OS X Linux Windows
General
Superclass RectControl
Interfaces
Constants
Methods
Properties
Events

NOTE: You can get descriptions of the items above from the REALbasic documentation.


Contents

[edit] Description

A PopupMenu presents a list of items.

[edit] Superclass

PopupMenu inherits from RectControl

[edit] Interfaces

None

[edit] Usage

Selecting an item from the menu fires both the Change event and the TextChanged event.

[edit] Platform differences

On MacOS X, doing MyPopup.AddSeparator or setting the text to '-' gives a real separator.

However on Windows instead of a real, unselectable separator only a '-' is shown, which is selectable.

Personal tools
related