Custom property with fixed list behaviour

A

Andy

I have a custom property with a fixed list and the value of the
property was set to the first item in the list to use as a default
value. The fixed list is subsequently modified, such that the value of
the property is no longer in the list. When placing an instance of the
shape, the custom properties appears showing the fisrt item in the
fixed list. However, this is not written into the value as it seems to
decide that nothing has been picked from the list even though the
highlighted item in the list does not match the value. In fact, picking
a different item and then picking the first still does not change the
value.

Does that behaviour seem right/sensible. I would have assumed that if
the value did not match an item in the fixed list that no item would be
highlighted. Better still updating the value with the highlighted value
when the custom properties are saved.

Thanks
 
D

David Parker [Visio MVP]

Try setting the formula for the default value to
=INDEX(0,Prop.MyProp.Format)
for the default value in the shapesheet of the master shape
 
A

Andy

Thanks for that idea, although not quite what I was after it. It seems
if the value is null ("""), that then picking the first item off the
fixed list the value is correctly updated. The problem only occurs when
the value is non-null and is not in the fixed list.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top