DEFINE DROPDOWN MENU

Creates a dropdown menu definition

Standard Syntax (xBase Style):

DEFINE DROPDOWN MENU BUTTON <ToolBarDropDownButtonName> [ OF <ParentWindowName> ]
   MENUITEM <cItemCaption>
   ACTION <ActionProvedureName> | <bBlock>
   [ NAME <MenuItemName>]
   [ IMAGE <cImageName> ]
   [ CHECKED ]
   [ NOTRANSPARENT ]
   [ TOOLTIP <cToolTipText> ]
   ...
   ...
      [ SEPARATOR ]
    ...
    ...
END MENU

Alternate Syntax:

DEFINE DROPDOWNMENU OWNERBUTTON <ParentToolBarButtonName> [ PARENT <ParentWindowName> ]
   MENUITEM <cItemCaption>
   ONCLICK <ActionProvedureName>
   [ NAME <MenuItemName>]
   [ IMAGE <cImageName> ]
   [ CHECKED <lValue> ]
   [ TRANSPARENT <lValue> ]
   [ TOOLTIP <cToolTipText> ]
   ...
   ...
   [ SEPARATOR ]
   ...
   ...
END MENU

DropDown Menu Properties:

R: Read-Only

MenuItem Properties:

R: Read-Only

MenuItem Events:

  • OnClick

You can DEFINE\/RELEASE Menu at runtime:

RELEASE DROPDOWN MENU BUTTON ButtonName OF FormName
RELEASE DROPDOWNMENU OWNERBUTTON ButtonName OF FormName
ReleaseDropDownMenu ( cButtonName, cFormName )
IsDropDownMenuDefined ( cButtonName, cFormName ) --> lBoolean

results matching ""

    No results matching ""