I have developed an Addin where I have mentioned the screentip ans supertip.
I want to change this screentip and supertip based on my customization and for each button mouse hover.
<button id="btn1" keytip="L" Screentip="GetScreentip" supertip="My Button displays form" label="Button1" size="large" showImage="true" image="FirstImage"/>
the code snippet I am planning to use is
public string GetScreentip(Office.IRibbonControl control)
{
switch (control.Id)
{
case "btn1": return mobjLanguage.MY_FIRST_BUTTON;
}
}
But this is not working, I want to change this based on which language I select and based on the language each
button screentip and supertip has to change for each button!
I am using .net 4.0 c# and implementing addin for Office 2010.