HyperCard 2.2 New Feature: Pop-up Buttons (12/93)

In HyperCard 2.2, the Pop-up button style lets you create buttons that
become pop-up menus. Each line within the button's contents is an item in
the pop-up menu.

How a Button Appears
--------------------
The Pop-up button's name appears as the menu title to the left of the
collapsed button; the collapsed button's window shows the current
selection. To change the space allocated to the title, either drag the left
side of the button's content area with the Button tool or change the Title
Width setting in the Button Info dialog box.

Editing Button Contents
-----------------------
You enter and edit the items of a button's pop-up menu through the Button
Contents editor, accessible in the button's Info dialog box -- or through
scripts using the put command. The menu items appear in the same font as
the title of the button.

Determining the Selected Menu Item
----------------------------------
The description of the currently selected item in the menu is the button's
selectedLine and its text is the selectedText. To set a selection, use
select line n of button.

This article was adapted from the HyperCard 2.2 New Features stack.

Although Apple's official spelling for the adjective is "pop-up", HyperCard
itself spells it "popup".
Published Date: Feb 19, 2012