Results 1 to 2 of 2

Thread: Creating a text editor

  1. #1

    Thread Starter
    Addicted Member kikelinus's Avatar
    Join Date
    Nov 2000
    Posts
    219

    Question

    I want to create a simple text editor. My problem is this: When I maximize the text editor, the text box does not resize,it stays the same size as before. How can I make it resize to stay the same size as the screen?

  2. #2
    Guest
    Put this in the Resize() event of the Form.
    Code:
    Private Sub Form_Resize()
        Text1.Move 0, 0, ScaleWidth, ScaleHeight
    End Sub

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