I am validating the two UI properties in the Configure state (this state is reached once the user clicks in the OK or Apply button in the Strategy Configuration window).
Is there an easy way to prevent/stop the execution of the strategy if these two UI properties are not the same?
Example:
if (UIProperty1 != UIProperty2)
CANCEL the Strategy execution
I would like it to continue in the Strategy Configuration window. I don't think this is possible based on some posts that I found. If that is the case, how can I stop the strategy from executing and also close the Strategy Configuration window?
Thanks,
Comment