A
Axel101
Hello,
I'm trying to deselect all items before selecting a new one. The code is the
following:
currentApplication.ActiveWindow.DeselectAll();
Shape shape = someShape;
currentApplication.ActiveWindow.Select(shape, (short)VisSelectArgs.visSelect);
After doing this with two shapes on my page both shapes are selected. If I
add a MessageBox showing something before the DeselectAll() Method
DeselectAll() works fine.
Can someone explain what's wrong with the first code?
thanks
Axel
I'm trying to deselect all items before selecting a new one. The code is the
following:
currentApplication.ActiveWindow.DeselectAll();
Shape shape = someShape;
currentApplication.ActiveWindow.Select(shape, (short)VisSelectArgs.visSelect);
After doing this with two shapes on my page both shapes are selected. If I
add a MessageBox showing something before the DeselectAll() Method
DeselectAll() works fine.
Can someone explain what's wrong with the first code?
thanks
Axel