Bold text in button tooltip

Bold text in button tooltip

michael.cristXW96W
Participant Participant
224 Views
3 Replies
Message 1 of 4

Bold text in button tooltip

michael.cristXW96W
Participant
Participant

How am I able to add bolded text to the tooltip? It does not seem to allow HTML tags. Just like how the baked-in buttons have the bolded descriptions, I would like to incorporate the same within my add-in buttons:

michaelcristXW96W_1-1747166879229.png

 

Thanks in advance

0 Likes
Accepted solutions (1)
225 Views
3 Replies
Replies (3)
Message 2 of 4

marcin_otręba
Advisor
Advisor
Accepted solution

hi,

 

set  title property:

 

 add_drawing.ProgressiveToolTip.IsProgressive = True
                add_drawing.ProgressiveToolTip.Title = "Add drawing tool"
                add_drawing.ProgressiveToolTip.Description = "saves copy of existing drawing to this model document"
                add_drawing.ProgressiveToolTip.ExpandedDescription = "Easy  add  drawing  by  choosing existing drawing document, 
after choosing drawing document it will be saved according 
to  save  drawing settings And reference will be set to model.” _
& vbCrLf & vbCrLf &
“It add drawing to active model document (part or assembly),
Or to pre-selected any lvl components in assembly document. 
It will re-scale views to have closest size to chosen drawing." & vbCrLf & vbCrLf &
"Limitations: " & vbCrLf & vbCrLf &
"* chosen drawing must refer to the same model definition type" & vbCrLf &
"* for multiple components selection  use only one drawing source file" & vbCrLf &
“* re-scaling Is done to size, not scale factor it will not be 1:2 or 1:4...”

 result:

marcin_otrba_1-1747204452420.png

 

marcin_otrba_0-1747204379283.png

 

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

Message 3 of 4

michael.cristXW96W
Participant
Participant

Thank you so much @marcin_otręba ! I had not considered the progressive tooltip... Do you know if this is possible through the regular tooltip? OR, is it possible to control the delay of the progressive tooltip? Maybe more work than it's worth. Thanks again for your help!

0 Likes
Message 4 of 4

marcin_otręba
Advisor
Advisor

hi, to control delay use: SecondLevelTooltipDelay accessible from application general options. But it is set for all commands.

And no, it is not possible without setting tolltip to be progressive.

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes