Auto Close... OnApplicationExit

J

JB

Do I really have to use a form to make an event that will execute when
my app closes down? I've done it, and it works fine, but it seems kind
of backwards for me.

Another form question.
All I can find is width and height prop.
Not left & top, is it me, or access?
 
D

Dirk Goldgar

JB said:
Do I really have to use a form to make an event that will execute when
my app closes down? I've done it, and it works fine, but it seems kind
of backwards for me.

One would like there to be an ApplicationExit event, but there isn't --
there's no hook to hang the event on. I've never come across any
solution other than using a form's Close or Unload event.
Another form question.
All I can find is width and height prop.
Not left & top, is it me, or access?

Have a look at Nicole Calinoiu's clFormWindow class:

http://www.mvps.org/access/forms/frm0042.htm

It's a handy way to manipulate form positions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top