Results 1 to 5 of 5

Thread: validating controls

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489

    validating controls

    When you drop a control from the toolbox onto a form, the 'validate' property is set to 'true' by default. I was wondering if setting this to false for those controls that don't need to validate might increase performance slightly?

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    ^^

  3. #3
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    Nah.
    I don't live here any more.

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    Are you referring to the "CausesValidation" property?


    If so then it won't make a blind bit of difference. The compiler knows that there is no event handler for the Validating event and thus will not call it. Speed will not be affected.
    I don't live here any more.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    yeah, that's what I meant! lol thanks.

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