PopButton (filter, event)

A button that pops up an overlapping subwindow when clicked. Its target must be specified with the For property.


For
(Symbol)
If given, this names the target. The named component must be either an overlapping (non-background) child of a ZSplit, or a descendant of something that is. In the latter case, the actual target will be the ZSplit child, not the named descendant.

Behavior
Like a Button, but before generating an event, it pops up its target (or brings the target to the top of it sibling, overlapping windows, if it is already visible).
Shape
The natural shape of its child (i.e., with no shrink or stretch), plus the border around the button.
See Also
PopMButton