Results 1 to 3 of 3

Thread: Window on top using buttons and off

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member jokerfool's Avatar
    Join Date
    Dec 2006
    Location
    Gold Coast, Australia
    Posts
    452

    Resolved Window on top using buttons and off

    So i'd like to have my form on top of everything else, so I am using this in the form load

    Code:
    Me.TopMost = True
    Everything works fine, but wanted to know if I have 2 buttons can I place the
    Code:
    Me.TopMost = True
    into the button to read

    Code:
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            Me.TopMost = True
        End Sub
    and if so what do I place in button 2 so I can switch it off, just want to know if this is possible?

    Thank you.
    Last edited by jokerfool; Mar 3rd, 2013 at 11:58 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width