TearOff Method

Class

Menu.

Action

Tears off a menu and creates a separate child menu for the item.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

menu.TearOff ([iXpos, iYpos])
Variable Description
iXpos Optional: The horizontal position of the top-left corner of the menu that you want to tear. INTEGER.
iYpos Optional: The vertical position of the top-left corner of the menu that you want to tear. INTEGER.

Notes

A tear-off menu can be opened and dragged away from its parent menu bar or menu. The appearance of the tear-off menu is determined by the platform.