Hi
My program has an options form which needs to allow the user to chose whether they want the program to always be on top, i am using the code
but i want this to apply to my form called frmMain.vb which is already open, how can i do this, i tried
but i got an errror
Jonathan
My program has an options form which needs to allow the user to chose whether they want the program to always be on top, i am using the code
Code:
Private Sub cmdOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdOK.Click
If chkTop.Checked = True Then
Me.TopMost = True
End If
Me.Hide()
End Sub
Code:
frmMain.TopMost = True
Jonathan