Gary Samuels
asked on
Transparent Access Window?
I have a small form which is always open on the desktop. The Access window is just a little larger than the form so you can always see the form and it takes up a minimal amount of the desktop. The idea is to run other applications on the desktop while still being able to see the Access form.
Is there a way that I can set the Access window to the maximum window size and then set the background of the window to transparent?
Is there a way that I can set the Access window to the maximum window size and then set the background of the window to transparent?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
After you hide the Access window in the Timer event, make sure to change the TimerInterval back to zero.
ASKER
Great stuff. I saw a better solution than trying to hide the window.
Thanks
Thanks
>>I saw a better solution than trying to hide the window.
Which was?
Which was?
I have used this in the past to hide the Access frame, but it is best used for very simple applications that don't have multiple forms.
What I have found is that you have to set your forms PopUp and Modal properties to Yes. Then, I generally use the timer event of the form, with the timer interval set at 2000, to make sure the form has loaded before calling the code that hides the window.
You also need to make sure you have very good error handling, and in that error handling, you make the Access window visible again. If you fail to do this, the only way to handle errors will be to use the TaskManager to shut down Access.