Is it possible to change a word (just one word) to bold or italic in msgbox2?
Example: Answ = Msgbox2("Confirm?" & CRLF & "Bold: " & Text1 & CRLF & "Italic:: " & text2, "", "YES", "", "NO", Null)
Use Msgbox2Async along with CSBuilder. Msgbox2 is deprecated. Here is an example:
B4X:
Msgbox2Async(cs.Initialize.Bold.Color(Colors.Red).append("Confirm ").pop.Typeface(Typeface.CreateNew(Typeface.DEFAULT, _
Typeface.STYLE_ITALIC)).append(CRLF).Append("By clicking yes").PopAll, "Warning", "Yes","", "No", Null,True)
Wait For Msgbox_Result (Result As Int)
If Result = DialogResponse.POSITIVE Then
Log("Yes of course")
'rest of your code
End If
Use Msgbox2Async along with CSBuilder. Msgbox2 is deprecated. Here is an example:
B4X:
Msgbox2Async(cs.Initialize.Bold.Color(Colors.Red).append("Confirm ").pop.Typeface(Typeface.CreateNew(Typeface.DEFAULT, _
Typeface.STYLE_ITALIC)).append(CRLF).Append("By clicking yes").PopAll, "Warning", "Yes","", "No", Null,True)
Wait For Msgbox_Result (Result As Int)
If Result = DialogResponse.POSITIVE Then
Log("Yes of course")
'rest of your code
End If