I have a prog with two forms.
What code/events do I use to put the focus back onto form1 if the user clicks on form2? I need form1 to be the topmost, visible, having focus form.
This will be dependent upon a variable i.e.
Dim forceFocus As Boolean
If forceFocus do the code that forces form1 to have focus even if the user clicks onto form2.