how do i save tooltip

how do i save tooltip

Darkforce_the_ilogic_guy
Advisor Advisor
435 Views
3 Replies
Message 1 of 4

how do i save tooltip

Darkforce_the_ilogic_guy
Advisor
Advisor

I have this code

Public Sub Addtoolstips()

Dim a As Application
Set a = ThisApplication

Dim MCDDefaultUser As MacroControlDefinition
Set MCDDefaultUser = a.CommandManager.ControlDefinitions.Item("Macro:TimeTable.TimeTable")
'MsgBox (MCDDefaultUser.ProgressiveToolTip.ExpandedDescription)
MCDDefaultUser.ProgressiveToolTip.ExpandedDescription = "Vil åbne den nyeste tidsplan som er tilgængelig dog max gå en uge tilbage"
'MCDDefaultUser.ProgressiveToolTip.Image = "C:\Files\YourImage.jpg"
Set MCDDefaultUser = a.CommandManager.ControlDefinitions.Item("Macro:RefreshColour.RefreshColour")


MCDDefaultUser.ProgressiveToolTip.ExpandedDescription = "Text 1"

' PDF Draft

Set MCDDefaultUser = a.CommandManager.ControlDefinitions.Item("Macro:PDFDraft.PDFDraft")


MCDDefaultUser.ProgressiveToolTip.ExpandedDescription = "text 2"

'


End Sub

the code work .. I can see tooltips I want after it have been run .... but there are not there when inventor is restarted 

 

is there a why to save it ?... and what file is this information save in ?

0 Likes
436 Views
3 Replies
Replies (3)
Message 2 of 4

FINET_Laurent
Advisor
Advisor

Morning,

 

Maybe triggering the macro each time you start inventor is a solution ?

 

Regards,

 

FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

0 Likes
Message 3 of 4

Darkforce_the_ilogic_guy
Advisor
Advisor

how do I triggering the macro each time you start inventor

0 Likes
Message 4 of 4

FINET_Laurent
Advisor
Advisor

Didn't find any answer to that.. >.<

 

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

0 Likes