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)

Parents
No Data
Reply
  • 5389
    posted

    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~

Children