08-25-2008 01:30 PM - edited 08-25-2008 01:34 PM
Hi everybody,
Kind of an unusual question. I created a new custom control, and put in a strict typedef I had created. I then tried to create a thick line decoration, and found I was unable to change its size or orientation by clicking and dragging. It looks like as soon as the typedef showed up, the line was associated with it (click on one, and both are highlighted), and couldn't be altered. I don't know if this is expected behavior or not.
Also, with additional testing, one of my typedefs does not cause this effect. It's a boolean control with custom graphics, and it's the only typedef I have that doesn't restrict the decorations. I have attached an example with another boolean typedef that does cause this condition for me.
edit - Also, the order in which they are put in the custom control doesn't matter, and it doesn't matter if they're both inside a cluster or separate on the control.
08-26-2008 05:24 PM
08-27-2008 06:37 AM
Just a heads up:
I stopped messing around with it in order to find a workaround, but I'm pretty sure it happens for more than just the thick line. I also ran into that problem with the thin line, so I don't know what the scope of the situation might be.
08-28-2008 09:27 AM
Hi,
Like I mentioned before, the scope of this is that you cannot place a type def inside a custom control. You can create arrays or clusters of type defs inside a custom control.
08-28-2008 09:40 AM