MenuBntVBT
called MenuSwitchVBT
.
These VBT's take a switch as a child and so switches can be used
to make up menus just like the earlier example.
An AnchorBntVBT
can be used to pop-up a menu just exactly as before.
The values hfudge
and vfudge
are the horizontal and
vertical offsets of the northwest corner of the popup menu relative to
southwest corner of the anchor button.
These values cannot be set when the anchor button is created.
Therefore,
a separate call is required
to AnchorBtnVBT.Set
.
This call appears in the main body of the program
Menu2.m3.
The following images: