I IdasI4A Active Member Licensed User Longtime User May 20, 2020 #1 You could implement the "Bold" method in B4I's CsBuilder as "Font(Font.DEFAULT_BOLD)" In this way the code B4X: #if b4i Cs.Append("Nombre: ").Font(Font.DEFAULT_BOLD).Append("Lorem Ipsum").Pop #else b4a Cs.Append("Nombre: ").Bold.Append("Lorem Ipsum").Pop #End If It would be replaced by (valid for B4a and B4i) B4X: Cs.Append("Nombre: ").Bold.Append("Lorem Ipsum").Pop Thank you PS. Sorry about my English.
You could implement the "Bold" method in B4I's CsBuilder as "Font(Font.DEFAULT_BOLD)" In this way the code B4X: #if b4i Cs.Append("Nombre: ").Font(Font.DEFAULT_BOLD).Append("Lorem Ipsum").Pop #else b4a Cs.Append("Nombre: ").Bold.Append("Lorem Ipsum").Pop #End If It would be replaced by (valid for B4a and B4i) B4X: Cs.Append("Nombre: ").Bold.Append("Lorem Ipsum").Pop Thank you PS. Sorry about my English.
aeric Expert Licensed User Longtime User May 20, 2020 #2 Maybe you should post this in Code Snippets Upvote 0