Results 1 to 2 of 2

Thread: how can I let the user change the textbox.width

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    80

    Question

    Hoi,

    On run-time I would like to have a textbox that can be modified by the user.
    Dragging the object to another place is possible, but how do I change the width and height?

    Fedor

    If swimming makes you slim, then what the hell is wrong with the whales?

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    I'm not sure of the code that will allow you to drag the textbox to desired height/width...but what you could do is...have two text boxes and in their Text1/Text2_Change Events place this code:
    Code:
    'Under Text1_Change 
    Text3.Width = Text1.Text
    'Under Text2_Change
    Text3.Height = Text2.Text
    You might want to restrict the textboxes to numeric characters only.

    Gl,
    D!m
    Dim

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