How to change focus from one form to another
Posted on 1998-07-06
I expected this to be easy but have been struggling with it. My application has two forms - one AppBar docked to the bottom of the screen and another one maximized, so the two are visible at all time. The AppBar for has to be created first and then the other form is created. As a result the AppBar has the focus initially. How can I make the other form (which has one Tedit on it) have the focus. I have tried a few obvious things like Form1.Setfocus when OnShow, etc...