Customize tooltips and docking context menu

Topics related to the Krypton Docking.

Moderators: Phil Wright, Chris Porter

Customize tooltips and docking context menu

Postby Edgar Ferreira » Tue Oct 06, 2009 10:06 pm

Is it possible to change the tooltip text of each Close, Context and SpecButton (for each workspace cell)?
In addition, is it possible to change the text of the default items in the docking context menu ("Float", "Tabbed Document", etc...)?

What I need is to translate each tooltip and menu item according to current application language.

Edgar
Edgar Ferreira
 
Posts: 132
Joined: Thu Mar 26, 2009 8:59 pm
Location: Coimbra, Portugal

Re: Customize tooltips and docking context menu

Postby Phil Wright » Wed Oct 07, 2009 7:52 am

You can add a KryptonPalette to your form and then set the tooltip text for each of the button specs of interest. Then assign the palette either to the KryptonManager if you want it applied everywhere or just to each individual cell if you want to defined per-cell tooltips. To alter the localization of the tooltip then you need to add the palette as a design time component of the form so it localizes the strings.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia


Return to Krypton Docking

Who is online

Users browsing this forum: No registered users and 0 guests