/ Forums / Advansys Formativ / Creating Solutions with Formativ / Formatting and Positioning Output Text / Reply To: Formatting and Positioning Output Text

#7015
Anonymous

    2 questions:

    1. I am trying to format my header text by building it inside a variable and including hard returns, instead of using Groupwise.Enter(). How do I indicate a hard return inside a string?

    ie. what is the equivalent to the escape character “n”?

    Here’s a sample of what I’m trying to do:

    headerText = variable1 & “n” & variable2 & “n”.

    2. When looping to check which control has focus, what is the command for retrieving the focus state of a control? More specifically, how do I know when the message body has focus?

    Could you provide a code sample on how to implement such a loop?

    Much appreciated,
    Isabelle