Hi,
In a program I have 9 forms. The program runs in landscape mode. If the program is interrupted by an user action or an incoming mail or telephone call, the 'interruptor' may change the screen orientation. When the interruptor ends, my program gets control again , but the screen orientation may be portrait.
Therefore, I introduced the activate event to check the screen orientation. If necessary I reorientate the screen and now I have to refresh the form, which is activated on return.
Does a possibility exist to find out which form is active and should be refreshed?
Something like Screen.ActiveForm.Refresh as in VB or another solution
Harry