I am having a issue where when I run a certain procedure on a particular form, the program freezes.
I Have ran this many times in other areas of the program without issue.
I have found that If I put a breakpoint or a ShowMessage before or on the procedure It runs smoothly.
Also while its frozen if I go out of the window(software) at all and come back in then it works?!(like if I just click the windows start button)… Any ideas?
Thanks!
Here is how I fixed it. Along with some more information needed to explain the solution that I didn’t previously realize had relevance to the question.
The function that was being called was accessed through a popup menu.
The popup menu came form the main form and for some reason was popping up when I right clicked on a PageControl(not part of the main form) even when I didin’t have the property set.
Solution – Added the Main form popup menu to the PageControl PopupMenu property.
No freeze!
Thanks for the help.