Hello gambas: 3.10.0
Hello Is there a possibility to cancel EVENT of a control I need this for the controls of WebForm In my example I do it But it's complicated I want not to run the WebTextBox1 event when I press WebButton1 If there was such a possibility WebTextBox.IgnoreEvent = True This will cause a WebTextBox events disable or should give an event filter WebTextBox.IgnoreEvent = "Change;Clear" Only Disable Events "Change" and "Clear" Thanks ' Gambas class file Export Private ignore_event As Boolean Public Sub WebTextBox1_Change() If ignore_event = False Then WebLabel1.Text = WebTextBox1.Text Endif End Public Sub WebButton1_Click() ignore_event = True WebTextBox1.Text = "sharon" ignore_event = False End ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user