>I have thisform.release in a command button. Is there any way to no
>in the Unload event what the calling method was?
>
>Thanks,
>Matt
You can enforce it, e.g. by setting some custom property
***button.click event
Thisform.releaseflag=8
Thisform.release
***form.destroy event
If this.releaseflag=8
=messagebox("This is button!")
Endif
Edward Pikman
Independent Consultant