Solved

access menus from code

Posted on 1997-04-27
2
167 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
2 Comments
 
LVL 2

Accepted Solution

by:
javiertb earned 100 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to center only a line in richedit? 4 56
URL for downloading Google Chrome for Win XP 2 152
Delphi 2 59
how can i search if string exist in array ? 3 55
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

786 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