M
Mac
continuation to my previous request; after I've selected (manually) a shape
on my page, I run the following code:
Set slct = ActiveWindow.Selection 'get what is currently selected
....
Then I want to add other shapes to this selection, via:
Call slct.Select(remoteShp, visSelect) 'add remoteShp to current sel.
but: I'd have expected that remoteShp be added to slct's Item collection,
but in debug mode I can see that after the second call, slct contains
remotShp only, and the same happens with each consecutive call, i.e. the
selection holds the last shape added only. Why?
Moreover, even though there are diferent shapes in the selection, visually I
can still see the original shape selected, i.e. the one I selected manually
before running the code. I can't get the hang of how this works..where do I
go wrong? please help!
on my page, I run the following code:
Set slct = ActiveWindow.Selection 'get what is currently selected
....
Then I want to add other shapes to this selection, via:
Call slct.Select(remoteShp, visSelect) 'add remoteShp to current sel.
but: I'd have expected that remoteShp be added to slct's Item collection,
but in debug mode I can see that after the second call, slct contains
remotShp only, and the same happens with each consecutive call, i.e. the
selection holds the last shape added only. Why?
Moreover, even though there are diferent shapes in the selection, visually I
can still see the original shape selected, i.e. the one I selected manually
before running the code. I can't get the hang of how this works..where do I
go wrong? please help!