Login to participate
Register   Lost ID/password?
Louis Kessler's Behold Blog » Blog Entry           prev Prev   Next next

Solving a Bug when you have No Idea What’s Causing It - Wed, 23 Mar 2011

So you open the Find window in Behold. You open another window over Behold, but the Find window stays on top.

C’mon. I’m just calling the standard Find Dialog from within Behold. It’s simply:


I’m not doing anything special. This shouldn’t happen. What’s going on.

When the going gets rough and you don’t know what’s going on, call on the experts. The experts are the other Delphi programmers out there with a wide range of experiences who are willing to help. They, and hundreds of thousands of other programmers like me, hang around at StackOverflow, asking and answering questions of other programmers.

So I posted this two days ago:
How Can I Keep the FindDialog from Staying on Top (Delphi)?

No one was able to reproduce my problem (bad news). But that gave me some clues, and I tried various things, and edited my question with my progress.

I only got one answer. That answer had a number of suggestions, none of which worked at first. But then I got lucky. Sertac edited his answer and just at the end of it, he mentioned a procedure I hadn’t heard of: NormalizeTopMosts. I tried that as well. I was more than surprised to see that it fixed the problem. I don’t know how or why it fixed the problem, but it did.

Ours is not to question why. Ours is but to fix or cry.

No Comments Yet

Leave a Comment

You must login to comment.

Login to participate
Register   Lost ID/password?