Results 1 to 2 of 2

Thread: New txt boxes

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204
    how do i make a new txt box when some one pushes a buton i have the text as as arreys , can any one help m e
    WHat would we do with out Microsoft.
    A lot more.

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Code:
    Option Explicit
    
    Private WithEvents btnObj As TextBox
    
    Private Sub Form_Load()
       Set btnObj = Controls.Add("VB.Textbox", "btnObj")
       With btnObj
          .Visible = True
          .Width = 3000
          .Text = "This button was created on the fly!"
          .Top = 1000
          .Left = 1000
       End With
    End Sub
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width