Results 1 to 2 of 2

Thread: Pls. help me for this coding

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2004
    Posts
    3

    Question Pls. help me for this coding

    I have got a requirment that one button couldn't be clicked unless the textbox has been filled. I have no idea how to write code in VB.NET. Anyone pls. help pls.

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    in the changed event of the textbox write this...

    button1.enabled = (textbox1.Text.Trim.Length > 0)
    I don't live here any more.

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