V
vojo
Lets say I have a parent shape with several custom properties and I have
child shapes (done separately and added to parent group on drop) that
wants to "see" the parents custom properties. For example, assume the
parent is a server and the child is a card that plugs into that server so
that the adapter could see the server serial number.
So I am aware of the lack of shape awareness in visio (I got to say...not
sure why that has not been added...even if its a "blind" function an
method to find parents name)...so I am not aware of any SETF or SETAT
approaches that would work. I can get the reference but cant convert to
string to parse out the sheet.x piece and dynamically use it.
I also considered some sort of housekeeper child in the parent that
contains a map of all the shapes that get added (since the number/type of
children is known). the problem with this approach is that the child
needs to create a dynamic offset (obviously could say sheet.2 is
housekeeper...but multiple copies of parent change sheet.2 and thus back
into the SETF/SETAT issue).
I also looked at eventondrop but again cant dynamically pick the sheet to
update. For example, could use SETF if I ALWAYS knew where sheet.1 would
sit (multiple copies, etc).
Any thoughts??
Could easily do this in VBA but then run into the whole security FUD about
running macros on a system and managing signatures. As a result, would
like to stay in the shapesheet space.
child shapes (done separately and added to parent group on drop) that
wants to "see" the parents custom properties. For example, assume the
parent is a server and the child is a card that plugs into that server so
that the adapter could see the server serial number.
So I am aware of the lack of shape awareness in visio (I got to say...not
sure why that has not been added...even if its a "blind" function an
method to find parents name)...so I am not aware of any SETF or SETAT
approaches that would work. I can get the reference but cant convert to
string to parse out the sheet.x piece and dynamically use it.
I also considered some sort of housekeeper child in the parent that
contains a map of all the shapes that get added (since the number/type of
children is known). the problem with this approach is that the child
needs to create a dynamic offset (obviously could say sheet.2 is
housekeeper...but multiple copies of parent change sheet.2 and thus back
into the SETF/SETAT issue).
I also looked at eventondrop but again cant dynamically pick the sheet to
update. For example, could use SETF if I ALWAYS knew where sheet.1 would
sit (multiple copies, etc).
Any thoughts??
Could easily do this in VBA but then run into the whole security FUD about
running macros on a system and managing signatures. As a result, would
like to stay in the shapesheet space.