Results 1 to 7 of 7

Thread: Let the menu slide down ??[Resolved]

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Let the menu slide down ??[Resolved]

    Is there any way I can do to let the menu slide down "instead of clicking with the mouse" . Sounds easy but can't figure it out . Thanks
    Last edited by Pirate; Dec 30th, 2003 at 05:15 AM.

  2. #2
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840

    Sendkeys

    Hi Pirate.

    For example, you could use sendkeys to send ALT+F to you own app. to open the Filemenu.

    VB Code:
    1. SendKeys.Send("%F")
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  3. #3

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Thanks . Works good .

  4. #4
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    what sendkey would you do to simulate the clicking of the drop-down arrow on a combo box?

  5. #5

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by thephantom
    what sendkey would you do to simulate the clicking of the drop-down arrow on a combo box?
    I'm not sure but I've tried different keys (ALT , Enter ..) but didn't work .

  6. #6
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    combobox drop down is easy
    VB Code:
    1. ComboBox1.Focus()
    2.         SendKeys.Send("%{DOWN}")
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  7. #7
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    cool! that worked!

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