Add Label in Ribbon Panel

Add Label in Ribbon Panel

Anonymous
Not applicable
1,266 Views
5 Replies
Message 1 of 6

Add Label in Ribbon Panel

Anonymous
Not applicable

HI everyone

I developing my addin using C# 2012 and api Revit 2016. I Need add a Label control to a Ribbon Panel. Similar to the menu "Collaborate" option"Active Workset" .

 

Captura.JPG

 

this can be done?, some example code c#?

 

i try disabled pushbutton but it is not what I want.

 

tranks

0 Likes
1,267 Views
5 Replies
Replies (5)
Message 2 of 6

jeremytammik
Autodesk
Autodesk

Sorry, the disabled push button is the best I have to offer at the moment:

 

http://thebuildingcoder.typepad.com/blog/2010/09/simulating-a-ribbon-textbox-label.html

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 6

Anonymous
Not applicable
Thanks Jeremy
but it is not what i want
0 Likes
Message 4 of 6

jeremytammik
Autodesk
Autodesk
Message 5 of 6

Revitalizer
Advisor
Advisor

Hi,

 

what about a simple PushButton without any Image and bound to a dummy command, doing nothing ?

 

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





0 Likes
Message 6 of 6

Revitalizer
Advisor
Advisor

Hi,

 

forget my previous post, didn't read that you already used a PushButton.

 

You may consider using AdWindows.dll, there is a class called "RibbonLabel" in it.

No code so far, just an idea or hint.

 

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





0 Likes