Web Development

General discussion


VB Query UNLoad

By mvlawrence ·
What is the difference between Unload and Query Unload in VB

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

VB Query UNLoad

by nikki96 In reply to VB Query UNLoad

Unload is the actual unloading of the form. QueryUnload happens just before it, so if you wanted to, you could stop the unload.
Kind of like "Are you sure you want to quit?". :)

We use QueryUnload for just that kind of thing, too. Asking the user if they are sure, making sure changes are committed, etc before the form actually unloads. Once it hits Unload, there is no stopping it without an error.

Unload, BTW, is the removal of the form from memory.

Related Discussions

Related Forums