Auto Close... OnApplicationExit

  • Thread starter Thread starter JB
  • Start date Start date
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?
 
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.
 
Back
Top