?
Solved

access menus from code

Posted on 1997-04-27
2
Medium Priority
?
182 Views
Last Modified: 2010-04-04
I've got a program that needs a demo mode. I want to
be able to move the cursor around (I've got that part)
and open a menu and select an item all from within the
program's code. It doesn't even have to execute the menu
item as long as it looks like it selected it. I don't
want an extra or external program (camcorder, etc.) since
this is part of the requirements. Any help would be
appreciated.
0
Comment
Question by:jenny042797
[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 2

Accepted Solution

by:
javiertb earned 200 total points
ID: 1335736
It's not an external program:
Download Lloyd's Delphi Help File available from the Delphi Download page off the Delphi Technical Support page.

Search the help file for "SendKeys". Send an Alt Key Down, then
a Down Arrow Key etc...

You'll be able to send any key you want to open the menu item, and there are also some examples.
0
 

Author Comment

by:jenny042797
ID: 1335737
Thankyou for the help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

777 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