Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Validating

Validating

Scheduled Pinned Locked Moved C#
dotnet
5 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    edokt
    wrote on last edited by
    #1

    Il y a un problème avec Cause validation que je ne comprends pas J’ai TextBox avec un événement Validating et quand je ferme la feuille, la fermeture declenche l’événement Validating de TextBox. J’ai mit la propriété Cause Vlaidation de la feuille en FALSE, mais ça marche toujours pas.

    D A 2 Replies Last reply
    0
    • E edokt

      Il y a un problème avec Cause validation que je ne comprends pas J’ai TextBox avec un événement Validating et quand je ferme la feuille, la fermeture declenche l’événement Validating de TextBox. J’ai mit la propriété Cause Vlaidation de la feuille en FALSE, mais ça marche toujours pas.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      This is an English speaking board! You might want to repost this question. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      E 1 Reply Last reply
      0
      • E edokt

        Il y a un problème avec Cause validation que je ne comprends pas J’ai TextBox avec un événement Validating et quand je ferme la feuille, la fermeture declenche l’événement Validating de TextBox. J’ai mit la propriété Cause Vlaidation de la feuille en FALSE, mais ça marche toujours pas.

        A Offline
        A Offline
        Andy Moore
        wrote on last edited by
        #3

        Bonjour, C'est un forum anglophone mais je vous reponde votre question. Si la propriété "CausesValidation" est en TRUE, quand le TextBox est en focus, les événements "Validating" et "Validated" sont declenchés. Si la propriété "CausesValidation" est en FALSE, les événements ne sont declenchés pas. Je suis heureux de vous aider. :) Andy Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons

        E 1 Reply Last reply
        0
        • A Andy Moore

          Bonjour, C'est un forum anglophone mais je vous reponde votre question. Si la propriété "CausesValidation" est en TRUE, quand le TextBox est en focus, les événements "Validating" et "Validated" sont declenchés. Si la propriété "CausesValidation" est en FALSE, les événements ne sont declenchés pas. Je suis heureux de vous aider. :) Andy Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons

          E Offline
          E Offline
          edokt
          wrote on last edited by
          #4

          Le problem est justement que quand je freme la feuille avec un propriété CausesValidation = False, l'evenement Validating de TextBox çe declanche quand meme

          1 Reply Last reply
          0
          • D Dave Kreskowiak

            This is an English speaking board! You might want to repost this question. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            E Offline
            E Offline
            edokt
            wrote on last edited by
            #5

            Ok The problem is the folowing: I have a TextBox in the form of C#. The Textbox has un event Validating where I do my code. The form is the property CausesValidation = False I try to close the form with the Top Right X button , and the event Validating of TextBox fire. I want to know why , and how can I close the form whithout firing the TextBox Validating event Thanks. Merci.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups