1
Support Questions / Re: Graphic indicator
« on: Today at 05:36:24 PM »
This should work. What version of AdvancedHMI are you using?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
RawPrinterHelper.SendStringToPrinter(RawPrinterHelper.DefaultPrinterName(), s)
if e.Values(0)=101 then
BasicIndicator1.ForColor=Color.Red
else
BasicIndicator1.ForColor=Color.White
end if
Protected Overrides Sub OnEnabledChanged(e As EventArgs)
MyBase.OnEnabledChanged(e)
If Not Me.Enabled Then
Me.BackColor = Color.Black
End If
End Sub