Hey everybody,
I was looking at the ultraformatedtexteditor and I was wondering how I could make a <br> in my text.
Obviously <br> doesn't work cause I tried that, I just need to the effect of a soft enter (breakline/newline)
For the moment I simply use <p> but I don't like the spacing it creates.
So, how do I create an enter in the code ?
Dim resultString As String = "" For Each res As RosterPolicies.IPolicyRuleResult In policy.Result.RuleResults If res.Result = RosterPolicies.PolicyRuleResultEnum.FAILED Then resultString += "<p><font color=""red"">" & res.Description & " [" & res.Result.ToString & "] </font></p>" ElseIf res.Result = RosterPolicies.PolicyRuleResultEnum.WARNING Then resultString += "<p><font color='yellow'>" & res.Description & " [" & res.Result.ToString & "] </font></p>" Else resultString += "<p>" & res.Description & " [" & res.Result.ToString & "]</p>" End If Next
try using <br/>
it works fine with me