Home→Forums→MonoBrick EV3 Firmware→Brick-Simulator?→Reply To: Brick-Simulator?

Martin Wagner
Hi Lars,
the characters don’t seem to have a background color. How to you overwrite some text? The space-character seem not to work.
Private Sub KeyReleased() Handles ButtEvs.DownReleased, ButtEvs.EnterReleased, ButtEvs.EscapeReleased, _
ButtEvs.LeftReleased, ButtEvs.RightReleased, ButtEvs.UpReleased
KeyLogger(Nothing)
End Sub
Private Sub EnterPressed() Handles ButtEvs.EnterPressed
KeyLogger(“Enter”)
End Sub
Private Sub KeyLogger(Key As String)
Dim lp As New Point(0, 0)
Const prefix As String = “Key pressed: ”
If Key Is Nothing Then
KeyScreen.WriteText(Font.SmallFont, lp, prefix & ” “, True)
Else
KeyScreen.WriteText(Font.SmallFont, lp, prefix & Key, True)
End If
KeyScreen.Update()
End Sub
=> SimuKey
=> SimuManyKeys
What is the best way to write different texts in the same location?
Best regards,
Martin
Follow