Android Question Using Unicode symbols in Buttons.Text view

Wolodymyr

Member
Problem with runtime changing Text property of Button. When I set "▶ / ⏸" to Buttons text (caption) in Designer - it is displayed Ok. But when I try change it programmatically by Sub

Change Button Text Sub:
Sub PlayPause_Button_Change (FileName As String)
    PlayPause_Button.Text= "▶ / ⏸" + FileName
End Sub

We have this Runtime Error: java.lang.NumberFormatException: For input string: "▶ / ⏸"
 
Top