I'm creating a button with different states inside a Visio. According to the DataMiner Help there is also a Disabled state. Unfortunately this isn't being showcased on the Linking Shapes view on the DCP DMA. On my own, I was unable to get this working. On the main shape I have the Enabled shape data that blocks user interaction when the condition is false. But my button doesn't show the Disabled state.
For the disabled state to work the linked shape should have a shape option added in the shape data "Options" with value "AllowControlDisable".
An example was also added to dcpdma.skyline.be, view "Linking Shapes", page controls//button
I'd try by redefining the group from scratch:
ungroup the button shapes / include the additional one you have added - check it has the same properties of the other shapes that were part of the original design.
The property ENABLED={TRUE, FALSE} on the main object would disable the "weblink" behaviour of the Group (mousehover and such),
so I'd troubleshoot while Enabled=TRUE.
Visio wise, the property ButtonState={Normal, MouseOver, Pressed, Disabled} is completely separated from the property ENABLED={TRUE, FALSE}
so you'd have at least two different properties on your shapes.
PS: What DM version are you using?
Hi Michiel, you mention a main shape - is there a group?
I recently was encouraged to troubleshoot the linking within the single shape, and it helped - are you able to display all the button states if the general behaviour of the shape is set to "ENABLED=True" rather than FALSE?
I took the original design from the Skyline Stencils (available via the Skylicons). And to that button (group), I added another shape for the disabled state.
The mouseover and such is working when Enabled is resolved to true (Enabled is done with a condition in my case).