Issue when removing a command at runtime

Bars for Windows Forms Forum

Posted 18 years ago by Marianne
Avatar
I have a command that has a command link in a dockable toolbar. When I delete the command at runtime the command link disappears but the space between the command links is not reclaimed. It just shows a blank area where the command link used to be. It may have something to do with the fact that the command link does not have an image associated with it so it is just showing text. Can you reproduce this behavior?

------------------------------- Marianne

Comments (2)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Marianne,

Check out this post:
http://www.actiprosoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=1545

Basically for optimization reasons we don't perform a layout after links are added or removed (in case you are doing multiple operations). You have to kick off the layout manually. That post tells how.


Actipro Software Support

Posted 18 years ago by Marianne
Avatar
Perfect. Thanks.

------------------------------- Marianne

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.