Solved

Showing hints from Tmenu components

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

Industry Leaders: 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

751 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