Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SIMPLE!!

Posted on 1998-12-10
2
Medium Priority
?
141 Views
Last Modified: 2010-05-03
I want to be able to click a button and have a menu header display the options below it. For example, click a command button (not the menu header itself) and the options within the FILE menu header be displayed (NEW, OPEN, SAVE, etc.). This sounds like a simple command request, but I've tried repeatedly to no avail. Any suggestions??
0
Comment
Question by:KeithAtWork
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
TDragon earned 200 total points
ID: 1449373
Use the SendKeys command as follows...

Private Sub Command1_Click()
    SendKeys "%F", True
End Sub

Of course this requires the Keyboard access key of 'F' for your File Menu.
0
 

Author Comment

by:KeithAtWork
ID: 1449374
Thanks, it worked fine.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question