B Bob LaBarre New Member Licensed User Longtime User Apr 14, 2014 #1 Can I change the color of the first line of text based on a condition then change it back to the original. ie. list item 1 ' Text color is Green list item 2 ' Text color is Green if (Condition = true) then change the text color of list item 3 to Red list item 4 ' Text color is Green To do this for the entire list you lbl = lstMonitor.TwoLinesLayout.Label lbl2 = lstMonitor.TwoLinesLayout.SecondLabel lbl.TextColor = Colors.Green lbl2.TextColor = Colors.Blue but how do I do it dynamically pr
Can I change the color of the first line of text based on a condition then change it back to the original. ie. list item 1 ' Text color is Green list item 2 ' Text color is Green if (Condition = true) then change the text color of list item 3 to Red list item 4 ' Text color is Green To do this for the entire list you lbl = lstMonitor.TwoLinesLayout.Label lbl2 = lstMonitor.TwoLinesLayout.SecondLabel lbl.TextColor = Colors.Green lbl2.TextColor = Colors.Blue but how do I do it dynamically pr
klaus Expert Licensed User Longtime User Apr 14, 2014 #2 The colors are the same for all lines. You cannot have different colors in different lines. To do this you must use a ScrollView or use CustomListview or UltimateListview (chargable). Upvote 0
The colors are the same for all lines. You cannot have different colors in different lines. To do this you must use a ScrollView or use CustomListview or UltimateListview (chargable).