Solved

access menus from code

Posted on 1997-04-27
2
173 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
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…

831 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