VBA MICROSTATION INSERT NEW LINE IN TEXT

Hi,

I am writing a macro for Microstation and i am trying to have multiple lines in a "textbox" or "text element", i have tried researching on how to go about doing this but i have had no luck finding anything. I have tried "\010" and Chr(13) but neither of them worked. Can some one help me please

Thank You

Kevin D

Parents
  • Unknown said:
    I am trying to have multiple lines in a "textbox" or "text element"

    A textbox is a user interface (UI) device on a VBA UserForm.

    A text element is a MicroStation DGN graphic element.

    Your question could mean either of the above.  Please clarify.

    MicroStation Text Elements

    A text element displays a single line of text.  It may not include a line-feed character (or, if it does include one, nothing happens).  This is a VBA TextElement.

    MicroStation Text Node Element

    A text node element is termed complex.  A text node displays one or more lines of text.  Each line of text is a text element.  When you edit text, using MicroStation's tools, a line-feed (carriage return) converts a text element to a text node element; the original text content is split at the line-feed, and the two parts are used to create two new text elements in a text node.

    A text node is represented in VBA by the TextNodeElement.

     
    Regards, Jon Summers
    LA Solutions

Reply
  • Unknown said:
    I am trying to have multiple lines in a "textbox" or "text element"

    A textbox is a user interface (UI) device on a VBA UserForm.

    A text element is a MicroStation DGN graphic element.

    Your question could mean either of the above.  Please clarify.

    MicroStation Text Elements

    A text element displays a single line of text.  It may not include a line-feed character (or, if it does include one, nothing happens).  This is a VBA TextElement.

    MicroStation Text Node Element

    A text node element is termed complex.  A text node displays one or more lines of text.  Each line of text is a text element.  When you edit text, using MicroStation's tools, a line-feed (carriage return) converts a text element to a text node element; the original text content is split at the line-feed, and the two parts are used to create two new text elements in a text node.

    A text node is represented in VBA by the TextNodeElement.

     
    Regards, Jon Summers
    LA Solutions

Children