Called by the Choices engine when a choice conflict is detected or resolved.
Syntax
OnChoiceConflict(ByVal Choice as Choice, ByVal Conflict as Boolean)
Parameters
Choice
The choice that caused the conflict
Conflict
Whether the choice is entering or leaving a state of conflict
Remarks
This method is triggered when the Choice engine detects a conflict or when a conflict is resolved. For example, a conflict occurs when the text of a Choice object with the TextMustBeUnique property set to True and the text of another published choice are the same. Your design-time control can take whatever action necessary to deal with this conflict. Typically, your control might either enter an error state or modify the conflicted choice to avoid the conflict. This method also fires when the text for one of the choices in conflict has changed and the choices are no longer in conflict.
Applies to IDesignTimeControl interface