SpentGeezer
Pure Noobism
- Local time
- Tomorrow, 10:08
- Joined
- Sep 16, 2010
- Messages
- 258
Greetings.
The forms in my database are popup, and maximize on resize. They cover the entire screen (menu = 1, popup, no border etc..). All navigation is done by command buttons and the like.
I created a minimize button so users could minimise the application and do other work using this code:
DoCmd.RunCommand acCmdAppMinimize
This is fine. However if the Windows XP idle time lock is activated then the database goes full screen again, and the minimize button will not work. All other controls work. I used a log file to see what was happening and there was no eternal minimise/maximise loop going on.
To overcome this problem I had to create another button (called Anti Freeze). This button has the following code:
DoCmd.RunCommand acCmdAppMaximize
After this is pressed the minimise button starts working again. Problem solved.
My question is, why does this happen, and is their an easier and cleaner fix to the problem?
Josh
The forms in my database are popup, and maximize on resize. They cover the entire screen (menu = 1, popup, no border etc..). All navigation is done by command buttons and the like.
I created a minimize button so users could minimise the application and do other work using this code:
DoCmd.RunCommand acCmdAppMinimize
This is fine. However if the Windows XP idle time lock is activated then the database goes full screen again, and the minimize button will not work. All other controls work. I used a log file to see what was happening and there was no eternal minimise/maximise loop going on.
To overcome this problem I had to create another button (called Anti Freeze). This button has the following code:
DoCmd.RunCommand acCmdAppMaximize
After this is pressed the minimise button starts working again. Problem solved.
My question is, why does this happen, and is their an easier and cleaner fix to the problem?
Josh