Solved

Why can't I see my hintwindow?!

Posted on 1997-07-08
3
197 Views
Last Modified: 2010-04-06
I have a form with a button on it. This button's showhint property is set to true and normally the small hintwindow appears beside this button. But when the program processes a

repeat

  ( ... )
  Application.ProcessMessages;

until condition;

loop the hintwindow doesn't seem to appear. Has anyone got a solution for my problem ? I have Delphi 1 under Windows 95.

Any help would be appreciated.

                              Levente
kecsplan@c3.hu
0
Comment
Question by:Levente
3 Comments
 

Accepted Solution

by:
kimfriis earned 80 total points
ID: 1338486
It seems that Windows will not fire the OnHint event when the application is busy doing something else. What you could do was to in the repeat .. until loop, check where your mousepointer are, and if it is within the bounds of the button, show a small hint window. That should not be to difficult. The hintwindow could even be a small bitmap that you kept hiding right under the button, and then set its visible property to true, when you needed to. I know that that would not make the usual delay, but you could simulate that with a timer.
0
 
LVL 1

Expert Comment

by:Gabor
ID: 1338487
Szia Levente!Is it possible that you have disabled the button or the form with the button?Gabor
0
 

Author Comment

by:Levente
ID: 1338488
Thank you for your answer. A solved my problem by making some modification in your help. Now I have a label
hidden on my form and in my button's onMouseMove event
I show this label. When the cursor is not over my button I simply hide the label.

Well, this is not a very nice solution though, but, at least, it works.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 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