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.UltraDesktopAlertShowWindowInfodaw.Caption = ta.SUBJECTdaw.FooterText = ""daw.Key = ta.IDdaw.Text = "Start: " & ta.DATETIMESTART.ToString("MM/dd/yyyy h:mm tt") & vbCrLf & vbCrLf & ta.DESCRIPTIONMe.UltraDesktopAlert1.Show(daw)
korazy said:The sample below does work with the vbCrLf
Assuming this was intended to read, "The sample below does not work with the vbCrLf", try the System.Environment.NewLine constant instead.
korazy,
I'm not exactly sure what your question is; you are asking about inserting line breaks in the UltraDesktopAlert's Text, but are also saying that using vbCrLf (which is what I was going to suggest) is working? Can you please clarify what you are looking for?
~Kim~