racemadnss
Registered User.
- Local time
- Today, 12:53
- Joined
- May 18, 2004
- Messages
- 58
Is there a way that I can close my popup form when it loses focus.
My clients will be double clicking on listbox to open the popup and I want it to close when they go to double click on another item in the listbox.
Right now I have it set as a Modal Popup, which works fine but I'd rather it close on its own then have my users have to click the (X) then select another item.
My clients will be double clicking on listbox to open the popup and I want it to close when they go to double click on another item in the listbox.
Right now I have it set as a Modal Popup, which works fine but I'd rather it close on its own then have my users have to click the (X) then select another item.
Code:
Private Sub Form_LostFocus()
DoCmd.Close
End Sub