Results 1 to 13 of 13

Thread: [RESOLVED] [2008] shortcut menu, left click, add in reverse order

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2001
    Posts
    1,331

    Resolved [RESOLVED] [2008] shortcut menu, left click, add in reverse order

    Hello,

    I have created a shortcut menu. And assigned this to the link control. When the user right clicks the link control the shortcut menu will appear.

    Code:
    Me.linkLabel1.ContextMenu = contextMenu1
    However, is there a way to left click instead of right clicking. I could not find any property that would change this?

    My menu is created dynamically as it will display the last number that was dialed. However, I want to display the last number dailed as the top one in the short cut menu. Is there a way to reverse the order of the items in the shortcut menu?

    Code:
    //create a new menu item
    Dim menu As MenuItem = New MenuItem
    'Add the number entered from the text box.
    menu.Text = textBox1.Text
    contextMenu1.MenuItems.Add(menu)
    Many thanks,
    Last edited by steve_rm; Jul 18th, 2008 at 02:45 PM. Reason: Question not fully completed
    steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width