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
1187
How to put line breaks in the text of an alert?
posted

I am trying to format the text of my alert with line breaks but it's not working.  How can I put line breaks in my text.  The sample below does work with the vbCrLf.

 

Dim daw As New Infragistics.Win.Misc.UltraDesktopAlertShowWindowInfo
daw.Caption = ta.SUBJECT
daw.FooterText = ""
daw.Key = ta.ID
daw.Text = "Start: " & ta.DATETIMESTART.ToString("MM/dd/yyyy h:mm tt") & vbCrLf & vbCrLf & ta.DESCRIPTION
Me.UltraDesktopAlert1.Show(daw)