Results 1 to 4 of 4

Thread: how to limit the size of multiple textbox?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2007
    Posts
    208

    how to limit the size of multiple textbox?

    i have two textbox , one is single line and the other is multiple lines.
    now i want to limit the size of the textboxes.
    for the single line textbox1.text, in the design properties , i did maxlength 15
    then it works fine, but
    for the multiple line textbox2.text, i have tried to do the same thing but it doesnot work, just i did in the design properties,maxlength 50 and row=2 and column=2,but this doesnot work, it simply accepts as much as i type my input,
    so how can i limit the size of multipe line textbox in vb.net?
    thanks a lot!

  2. #2
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: how to limit the size of multiple textbox?

    Working fine for me.

  3. #3
    Registered User RaviIntegra's Avatar
    Join Date
    Mar 2007
    Location
    Pondicherry, India
    Posts
    125

    Re: how to limit the size of multiple textbox?

    The "MaxLengt" is working in vb.net 2005, try it in vb2005.

  4. #4
    Hyperactive Member
    Join Date
    Mar 2004
    Location
    Prato - Tuscany - Italy
    Posts
    461

    Re: how to limit the size of multiple textbox?

    The "MaxLengt" is working in vb.net 2005, try it in vb2005.
    Is there a difference????
    In Vb2005 the word ".net" is only omitted by Microsoft, but they are the same language, called in different ways!
    Live long and prosper (Mr. Spock)

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