Status Bar - Accessing a Single Panel

ski_diva

New member
Local time
Today, 19:22
Joined
Oct 4, 2001
Messages
5
Hi there!

When the user double-clicks on the 1st panel of my status bar, I want my whole program to end (it will have an "exit" icon on the panel), but I'm not sure how to write this.

So far, I have:

Private Sub sbStatusBar_DblClick()

'If user clicks on the first panel of the status bar then exit the program. If user clicks anywhere else on the status bar, do nothing.

if sbStatusBar....
DoCmd.Quit
end if

End Sub

Thank you, I appreciate your help!
Andrea
 

Users who are viewing this thread

Back
Top Bottom