Lanc1988 Posted December 5, 2004 Posted December 5, 2004 I tried searching the forums for Always on Top but it didn't find anything, so... I have my main form, and then i have another form. On the other form I want there to be a checkbox and if its checked, then the form will always be on top.. what code would I use for this? Quote
Administrators PlausiblyDamp Posted December 5, 2004 Administrators Posted December 5, 2004 Would something like Private Sub CheckBox1_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged Me.TopMost = CheckBox1.Checked End Sub not do it? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.