I am trying to get the effect of the Stroke or Opacity items on the control dialog - clickable text to open a dialog.
I've looked into their construction and the items are ADMPopupControlType with a style of kADMActiveLabelPopupControlStyle. I tried creating one of these and it will set the style in code and when I get style it will return the right numbers, but no matter which style I try, in Illustrator it always looks like a text edit box with a right-arrow button. It doesn't seem to take changes in the dialog style, either - tried setting that to dial and got the default slider anyway.
I have been looking through the documentation for a clue as to why the appearance doesn't change. I've tried invalidating and updating after setting the style, but it seems to do nothing.
Does anybody have any experience with ADMPopupControlType styles or any idea why a style would not be applied?
Any help is much appreciated!
Europe, Middle East and Africa