Results 1 to 5 of 5

Thread: Kill Popup Menu ?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Romania
    Posts
    81

    Angry Kill Popup Menu ?

    How do I close (hide) a popup menu ?

    By the way, why does the Error:

    Automation Error
    Catastrophical error

    appears?



    Thanks in advance.
    ...

  2. #2

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Romania
    Posts
    81
    Ok, I agree, but what I meant was hiding (closing) or showing another popup Menu using code.
    ...

  4. #4
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    OK, I'm still confused. A pop-up menu is normally shown via the MouseDown event and that's code, and after you click anywhere else it goes away.

    VB Code:
    1. Private Sub MyTextbox_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
    2.  
    3.     PopupMenu mnuPopupSpellCheck
    4.  
    5. End Sub

  5. #5
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

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