Called when the best match for a ChoiceSink object has changed.
Syntax
OnChoiceChange(ByVal ChoiceSink as ChoiceSink, ByVal Change as dtcChoiceChange)
Parameters
ChoiceSink
The Choice sink whose matching Choice object was modified.
Change
The property of the Choice object that changed. One of the following values:
dtcChoiceChangeNewChoice | 1 |
dtcChoiceChangeText | 3 |
dtcChoiceChangeDescription | 4 |
dtcChoiceChangeEnabled | 5 |
dtcChoiceChangeTag | 6 |
dtcChoiceChangeType | 7 |
dtcChoiceChangeSequential | 8 |
Remarks
Called when a different choice matches the Choice sink's Choice filter, or when the choice already bound to the Choice sink changes one of its properties. When no choice matches the Choice filter, the Choices engine calls OnChoiceChange with ChoiceSink set to Nothing and Change set to dtcChoiceChangeNewChoice.
Applies to IDesignTimeControl interface