This is a migrated thread and some comments may be shown as answers.

Creating Popup Menu at runtime

0 Answers 64 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Romell
Top achievements
Rank 1
Romell asked on 11 Jul 2012, 06:09 PM
Hi all

The following code allows the creation of a control RadMenu at runtime with an item

             Dim As New RadMenu NewMenu
             newMenu.Name = "MyPopUpMenu"

             Dim As New RadMenuItem newMenuItem
             With newMenuItem
                 . Name = "Name_A"
                 . Header = "Option A"
             End With

             newMenu.Items.Add (newMenuItem)
             newMenu.ClickToOpen = True

It works without problems but how I can:
1 - Make it visible, the object is created in memory but not a method I have "Display" or "Show" or the like to show it.
2 - Place it in a specific location, such as the mouse pointer.
3-Make it a shortcut menu, type Popup .....

Thanks to all .....

No answers yet. Maybe you can help?

Tags
Menu
Asked by
Romell
Top achievements
Rank 1
Share this question
or