Results 1 to 3 of 3

Thread: Sizing Textbox with form size ? [Resolved]

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2003
    Posts
    34

    Sizing Textbox with form size ? [Resolved]

    I have a textbox and when i run my code it runs but not exact, the width is like 2 - 4 units off unless i subtract it manaully in code. Is there another method that is exact ?

    heres my current code
    VB Code:
    1. Protected Overrides Sub OnResize(ByVal e As System.EventArgs)
    2.         rt.Width = Me.Width
    3.         rt.Height = Me.Height
    4.  
    5.     End Sub

    just a note:
    I just started .net recently so im still learning.
    Last edited by BeholderOf; Dec 30th, 2003 at 05:04 PM.
    a 17 year old kid who has nothing better to do !
    and i never said i was right !!!

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