Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
535
Ultraformatedtexteditor + newline
posted

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

Parents
No Data
Reply Children
No Data