How can know wich shape is selected and add there properties (according stencil) ? TNX
T Tamir Khason Jun 24, 2004 #1 How can know wich shape is selected and add there properties (according stencil) ? TNX
D David Parker Jun 28, 2004 #2 Your answer may be: ActiveWindow.Selection.PrimaryItem & ActiveWindow.Selection.PrimaryItem.Master.Shapes(1) .... but I am only guessing because I didn't understand the question!
Your answer may be: ActiveWindow.Selection.PrimaryItem & ActiveWindow.Selection.PrimaryItem.Master.Shapes(1) .... but I am only guessing because I didn't understand the question!
C claires Jun 30, 2004 #3 Tamir said: *How can know wich shape is selected and add there propertie (according stencil) ? TNX * Click to expand... Visio.ActiveWindow.Selection(1) will give the (first) shape that i selected (there could be more than one item in the selections). To get custom properties defined use: shape.Cells("Prop.SomePropName").ResultStr(0) if it is a strin property - claire
Tamir said: *How can know wich shape is selected and add there propertie (according stencil) ? TNX * Click to expand... Visio.ActiveWindow.Selection(1) will give the (first) shape that i selected (there could be more than one item in the selections). To get custom properties defined use: shape.Cells("Prop.SomePropName").ResultStr(0) if it is a strin property - claire