|
-
Mar 3rd, 2013, 10:59 AM
#1
Thread Starter
Hyperactive Member
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
Everything works fine, but wanted to know if I have 2 buttons can I place the 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.
-
Mar 3rd, 2013, 11:16 AM
#2
Addicted Member
Re: Window on top using buttons and off
If you can set something to True, shouldn't you also be able to set it to False?
-
Mar 3rd, 2013, 11:54 AM
#3
Thread Starter
Hyperactive Member
Re: Window on top using buttons and off
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|