Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I have MDI Form that contains 2 Forms inside. both of them I set its windowstate to wsMaximized. if I want to bring second form to front, I call Form2.BringtoFront, so does the first form ( form1.BringtoFront ). Sometimes I get no problem n it works fine. But Sometimes I get an error of EAccessViolation. I try to solve this problem with :
except on EClassViolation do
but this can't solve the problem. Any suggestion for this ?
thanks in advance
0 · ·