G
Guest
Hi All,
When the user closes my app I would like the form to disapear slowly, I have
tried using the form opacity property in a loop driven by a timer. The form
disapears but the app does not end (I have to right click the icon in the
task bar and close it). Any idea why?
I have this code in the timer event:
formdim = formdim - 0.01
Me.Opacity = formdim
If formdim = 0.01 Then Timer1.Enabled = False : End
Thanks in advance,
Roger.
When the user closes my app I would like the form to disapear slowly, I have
tried using the form opacity property in a loop driven by a timer. The form
disapears but the app does not end (I have to right click the icon in the
task bar and close it). Any idea why?
I have this code in the timer event:
formdim = formdim - 0.01
Me.Opacity = formdim
If formdim = 0.01 Then Timer1.Enabled = False : End
Thanks in advance,
Roger.