MarcoRome Expert Licensed User Longtime User Mar 17, 2020 #1 Hi all. If i have this code: B4X: cslike.Initialize.Color(Colors.Red).Bold.Size(23).Append($"2"$).PopAll clv.AddTextItem($"${cslike}"$,"") Dont Work. If i have this code: B4X: cslike.Initialize.Color(Colors.Red).Bold.Size(23).Append($"2"$).PopAll clv.AddTextItem(cslike,"") Work Is normal ?
Hi all. If i have this code: B4X: cslike.Initialize.Color(Colors.Red).Bold.Size(23).Append($"2"$).PopAll clv.AddTextItem($"${cslike}"$,"") Dont Work. If i have this code: B4X: cslike.Initialize.Color(Colors.Red).Bold.Size(23).Append($"2"$).PopAll clv.AddTextItem(cslike,"") Work Is normal ?
Erel B4X founder Staff member Licensed User Longtime User Mar 17, 2020 #2 This is not a bug and shouldn't be posted in the bugs forum. Upvote 0
MarcoRome Expert Licensed User Longtime User Mar 17, 2020 #3 Thanks Erel. Good know. If you want you can also delete this thread Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 17, 2020 #4 I've moved it to the question forum. This is the correct place to start unless you are sure that it is a bug. This result of this code will always be a string. The value or type of cslike doesn't matter. B4X: $"${cslike}"$ In order for CSBuilder to work it must not be converted to a simple string: B4X: clv.AddTextItem(cslike,"") This is the reason that the type of the 'Text' parameter is Object: Upvote 0
I've moved it to the question forum. This is the correct place to start unless you are sure that it is a bug. This result of this code will always be a string. The value or type of cslike doesn't matter. B4X: $"${cslike}"$ In order for CSBuilder to work it must not be converted to a simple string: B4X: clv.AddTextItem(cslike,"") This is the reason that the type of the 'Text' parameter is Object: