Solved

Showing hints from Tmenu components

Posted on 1997-07-30
3
217 Views
Last Modified: 2010-04-03
How can one cause the Hint property of a Tmenu component,
e.g. in a main menu to popup when the cursor is on it? It doesn't
do so in my application, although Application.ShowHint is True,
and the hint strings are not empty.
0
Comment
Question by:m.canty
  • 2
3 Comments
 
LVL 1

Expert Comment

by:jackb022197
ID: 1340207
I do not know why the hint does not show up on the MenuItem (I do not even know *if it is possible* to do this), but when I drop a label on the Form and add an .OnHint proc with Label1.Caption := Application.Hint, then the label's caption *is* changed to the string set for this particular TMenuItem...

0
 

Author Comment

by:m.canty
ID: 1340208
Re: *if it is possible*:
This is what Delphi Help says regarding Tmenu.Hint:

"Set Hint to a string that provides more information about the meaning of the menu item than the Caption. The hint text appears in a Help Hint window when the user pauses with the mouse over the menu item if Help Hints are enabled. It is also available for the code in the application’s OnHint event handler."

So its *supposed* to be possible. Is it a genuine bug? If so, I'll
give up for now and use Application.Hint as you suggest. Thanks.

0
 
LVL 1

Accepted Solution

by:
jackb022197 earned 50 total points
ID: 1340209
I did not find any reference to this in the bug list... But I guess it looks like a bug <g>. I can not remember ever seeing this by the way: A hint from a menu...

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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…

776 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