do you mean how to create a popup menu?
If so, the code is simple:
Code:
   PopupMenu menuName