Yes you can, it's a bit tricky though. Both our combobox and textbox commands/links inherit BarCustomControlCommand and BarCustomControlLink to achieve embedding a textbox in the bar command. You'd have to create your own classes that inherit BarCustomControlCommand and BarCustomControlLink. But by doing that you should be able to embed your control.
Okay, cool. I saw the post in May regarding this right after I posted the question. Is it possible for you to send me some example code on how to do this? I am using C# with the Actipro 2.0 UIStudio Suite.
Those attributes worked for me previously to have custom controls (inherited from ToolStripControlHostBase) available for standard ToolStrip control.
But now we are talking about BarCustomControlCommand/BarCustomControlLink inherited controls availability for Actipro BarManager design time customization.
And of course those attributes wouldn't help me.
Suppose we should use alike attributes special for BarManager designer (if supported).
But I had briefly look on "BarCustomizeNewBarCommandForm.cs" code (our company have Enterprise license), and it looks like we we can't do it for now.
Unfortunately it won't show up in design time out of the box as an available option to be added. If you have the source you could integrate your customer control into that designer functionality though.
Yeah, I already get this, thanks.
For now I just replacing any desired command declaration by custom one in designer generated code.
But it would be nice to have a similar behavior as described above for ToolStripControlHostBase+ToolStrip.
The latest build of this product (v2020.1 build 0403) was released 2 months ago,
which was after the last post in this thread.
Please log in to a validated account to post comments.