Catch Mouse over MenuItem

Hi,
is there any Way to catch the Mouse while it is moved over a TMenu Item ? I didn't see a such Event. I want to write a short Text Message to a StatusBar-Item. Something Like

FILE
  NEW

--> Create new File

while the Mouse is over the "NEW" Item

thanx ;)
LVL 2
omsecAsked:
Who is Participating?
 
BlackDeathConnect With a Mentor Commented:
o.k., i'll do it this way:

i answer this q and then i post a q for john with value 20 rating the same  as you rate me
i.e. if you rate me D i'll rate john's answer D, too
if you rate me A i'll rate john's answer A, too etc

this way we will get the same amount of points.
i don't need mine anyway (at this time, that is).

whaddaya think of it?

go for it-

Black Death.
0
 
erajojCommented:
Hi,
Use the Application.OnHint event instead.
There are examples in the help file, and if you use the project wizard or SDI/MDI project, it will be done for you.

/// John
0
 
BlackDeathCommented:
what john means in your case is:

set the menuitems hint property to "file new"
in the formcreate event, set: Application.OnHint := ShowHint;
have a procedure called: TForm1.ShowHint(Sender: TObject) doing the following:
  StatusBar1.Panels[0].Text := Application.Hint;

bye,

Black Death.
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
viktornetCommented:
Yup Black Death is RAIT :::::::-----------))))))) :-D

I only have a simple suggestion... Becauuse the form and maybe other controls have the proerpty ShowHint I suggest you better use a different name for your ShowHint() procedure... That's all guys ;->

Vik
0
 
BlackDeathCommented:
yar vik - correctemundo!

:*)

Black Death.
0
 
erajojCommented:
Viktor, better buy a new KBD!

/// John

0
 
BlackDeathCommented:
BG

Black Death.
0
 
viktornetCommented:
Hello guys?????

What do all those symbols mean???

BlackDeath : BG?????

John : Viktor, better buy a new KBD!??????????????

Please explain that to me.,,,
0
 
viktornetCommented:
Did I say something I was not suppose to say???? . o O

Vik
0
 
BlackDeathCommented:
Big Grins

cul8r,

Black Death.


0
 
omsecAuthor Commented:
well, this workds fine, but i dunno who to get the points now :P
0
 
BlackDeathCommented:
quite easy:

give'em 2 john 4 he was the 1st 2 answer (fcfs)

auf ein wiedersehen,

Black Death.


0
 
omsecAuthor Commented:
yeah, but BlackDeath showed me the right way i didnt get it before
0
 
omsecAuthor Commented:
ok, B, because a had to try out a bit by myself :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.