Solved

Why can't I see my hintwindow?!

Posted on 1997-07-08
3
207 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
[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
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month11 days, 17 hours left to enroll

623 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