Problems with modal forms
Posted on 2000-04-18
We have ported a p-system based program into delphi and have some limitations at the present time which make it necessary for us to use showmodal on all of our forms. (About 80 such forms)
The problem is that on occasion if there is another application running it will take the focus from our application while we are setting our main form visible/invisible or freeing one of the subforms. i.e. if we have a dos box up and we change from one form to another the dos box suddenly (and occasionally) will jump in front of the form we are bringging up. In addition, sometimes this other application becomes the active application and sometimes it's just in front of our form. Anyone got any clues how to get rid of this problem?