Search results for query: *

  1. W

    Minimise to system tray by clicking minimise button

    Hi jmcilhinney Thank you for your suggestion. My next concern was how to restore the window to a normal state after it had been minimised and hidden. So to fix that, I used PrivateSub NotifyIcon_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles...
  2. W

    Minimise to system tray by clicking minimise button

    Hi JohnH That is eactly what I was looking for. For completeness, here is the code: PrivateSub FormMain_Resize(ByVal sender As System.Object, _ ByVal e As System.EventArgs) HandlesMyBase.Resize If Me.WindowState = 1 Then Me.Hide() End If End Sub Thank you. Kind...
  3. W

    How to stop a textbox beeping when I press Escape key

    Hi JuggaloBrotha That solution worked perfectly. Thank you. Kind regards wickyd
  4. W

    How to stop a textbox beeping when I press Escape key

    Hi folx I want to close a form (as if the user had clicked on the Cancel button) when the user presses the Escape button. - The form has: 1 label, 1 textbox, an OK button and a Cancel button. - The textbox has focus by default. - If I press the escape key while the textbox has focus, the...
  5. W

    Minimise to system tray by clicking minimise button

    How do I minimise an application to the system tray when I click on the minimise button? I can minimise when the user clicks on the Close button, because I can wrap the code inside ..._Closing: Private Sub FormMain_Closing(ByVal sender As Object, _ ByVal e As...
Back
Top