/ Forums / Advansys Formativ / Creating Solutions with Formativ / How to insert a carriage return into the message area…

  • Creator
    Topic
  • #4194
    MrTibs
    Participant

    I can’t seem to figure out how to pass carriage returns into the message area. I need to insert several lines of text with carriage returns.

  • Author
    Replies
  • #7447
    lp_irovetz
    Participant

    Hi,

    Try this :

    CRT = Chr(13)
    ‘or HRT = Chr(13) & Chr(10)

    ‘If Obj is your message
    Obj.BodyText.PlainText = Obj.BodyText.PlainText + CRT + CRT + CRT +” Your text here ” ‘3 carriage return in this case

    L.P. Irovetz
    Arcane Groupware

    #7450
    MrTibs
    Participant

    Thanks for your responce. That should work but I should have mentioned I was using token commands.

    #7449
    MA
    Participant

    I think the following ItemSetText token will do the job. You can also try TextSetMessage token.

    call groupwise.ItemSetText(“X00”, itfMessage, “Line 1” & vbcrlf & “Line 2”, true)

    Thanks
    MA

    #7448
    Support 1a
    Participant

    Thanks MA.

    Advansys Support

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.