Solved

Showing hints from Tmenu components

Posted on 1997-07-30
3
254 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
[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
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month4 days, 18 hours left to enroll

635 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