AdvancedHMI Software
General Category => Support Questions => Topic started by: Darrell on February 15, 2017, 03:33:01 PM
-
how can I use a basic label to open another form . Hide the form and open another when clicked is this all i need
FaultPage.Show()
' Me.Hide()
Me.Visible = False
But I only want it to be clickable when the basic Label is highlighted via a PLC address
-
Try something like this:
Private Sub BasicLabel1_Click(sender As Object, e As EventArgs) Handles BasicLabel1.Click
If BasicLabel1.Highlight Then
FaultPage.Show
Me.Hide()
End If
End Sub
-
thanks Archie , did the trick
Darrell