Missing automatic ToolTip in label with AutoEllipsis = true

Missing automatic ToolTip in label with AutoEllipsis = true

stefanome
Collaborator Collaborator
325 Views
1 Reply
Message 1 of 2

Missing automatic ToolTip in label with AutoEllipsis = true

stefanome
Collaborator
Collaborator

I created a standalone WinForms application, put a label on a form, set AutoSize=false, AutoEllipsis=true, Text="something long" and Width=30, ran the application and the form showed only the first few letters of the text followed by 3 dots. I hovered the mouse pointer over the label and a tooltip showed the whole text.

 

I created a similar form in a Revit add-in project, created a command that opens it, and the automatic tooltip doesn't show up.

 

Any idea why?

Is it because the former is the application form, while the latter is... another kind of form?

0 Likes
326 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

No clear idea why, except that Revit maybe messes around with certain Windows settings required for its own user interface that end up interfering with your tooltip settings. Sorry about that!

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes