Creating a multiline textbox dynamically (at runtime)?

Discussion in 'Questions (Windows Mobile)' started by willisgt, Sep 12, 2007.

  1. willisgt

    willisgt Active Member Licensed User

    Okay. I promise that I've looked through all the documentation/help files/other forum threads for my answer before posting this.

    I need to create a multiline textbox at runtime. Creating a single-line textbox is a no-brainer, *and* I also know that I can convert the a single-line textbox into a multiline without scrollbars by changing the text alignment via FormLib.

    Problem is, I need a multiline *with* scrollbars. Created at runtime.

    Solutions? Ideas?

    :sign0085:
     
  2. dzt

    dzt Active Member Licensed User

    AddTextBox("Form1","TextBox1", 1, 1, 100, 20, "Hey what is going on?")
    TextBox1.Multiline = True
     
  3. willisgt

    willisgt Active Member Licensed User

    Dagnabbit... Shoulda listened when my optometrist said I needed bifocals...

    Thanks.

    :sign0161:
     
Loading...