Jump to content

Adding userform controls to autocad ribbon/toolbar


Ahankhah

Recommended Posts

Hi everybody,

 

is it possible to add controls (for instance "a TextBox") to Autocad Ribbon or Toolbar? If so, how?

 

I ppreciate in advance any help.

 

 

Link to comment
Share on other sites

Yes, you can add various items to the ribbon. This page gives you sample code for modifying the ribbon using VB.NET and C#. The class for the textbox class, as you might expect, is RibbonTextBox. Don't forget to add a command handler if you want AutoCAD to react when the user changes the text.

 

You can also create a new ribbon panel, add labels and buttons to it, and do practically anything else you can do manually.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...