Combobox validating

07-Jun-2020 13:45

For example, if you retrieve the Selected Text value in a button Click event handler, the value will be an empty string.This is because the selection is automatically cleared when the input focus moves from the combo box to the I want is how to delete Subject name from 2nd combo box if the Subject is already selected in the previous combo i use combo box property to fill each combo box from database.

Here is an example of how to validate the combobox by value.

The good way in windows is to add a value (None) into the combobox and test if the person contains the (None) value.