screen resize event to capture landscape mode - Mobile 5.0 VS 2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We have a system that uses a main menu that remains in the background while
successive forms are displayed. So effectively, when one form is loaded is
runs on top of whatever screen was previously running. When the user closes
a screen using our "X" exit button, we close the form and the previous form
becomes active. I am using the resize event to redraw the screen when the
user drops the keyboard down (mobile 5.0 vs 2005) it works fine most of the
time but occasionally the main menu's resize event kicks off and causes
another screen to be loaded. Is there anyway to prevent this? Is there
something that can check if the form is the current form when the resize
event kicks off to bypass running any code? Thank you.

Robert
 
I figured out what was happening. I had to create 2 menus for landscape mode
and one of them had a select statement to determine which application to run.
I had made the else equal to a valid value which caused the menu to think
something was selected. I changed the else to -1 and it works.
 
Back
Top