We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

DockingManager caption buttons padding

Thread ID:

Created:

Updated:

Platform:

Replies:

79755 Feb 24,2009 03:28 PM Mar 6,2009 06:41 AM Windows Forms 5
loading
Tags: Tools
Julie Levy
Asked On February 24, 2009 03:28 PM

Hi -
is there any way to increase the padding between the caption buttons when adding custom buttons to the docking manager?
We are on version 5.2.0.25
Thanks,
Julie


Administrator [Syncfusion]
Replied On March 3, 2009 08:04 AM

Hi Julie,

Thank you for using Syncfusion products.

Currently the feature 'Support for increase the padding between the caption buttons ' is not available in the library.

Please let me know if any concern.

Regards,
Jaya


Julie Levy
Replied On March 4, 2009 01:30 PM

Thanks.
One more question. I am not able to get tooltips to show up on the caption buttons using the regular or supertooltip (with EnableSuperTooltip turned on).

Is this linked to using the default style?
Thanks,
Julie


Administrator [Syncfusion]
Replied On March 5, 2009 08:15 AM

Hi Julie,

Thanks for the update.

SuperTooltip on CaptionButtons

Please make sure that you have set the property SuperTooltip of dockingManager to superTooltip component.

Please refer the sample below that displays supertooltip of captionbutton in Office2007Style.

http://files.syncfusion.com/support/Tools.Windows/5.2.0.25/F79755/Tools_WF_Docking_SuperTooltip.zip

Please let me know if this helps you.

Regards,
Jaya



Julie Levy
Replied On March 5, 2009 04:40 PM

Hi -
Thanks for your response.
However, what i want is to add a tooltip to a custom caption button, not a built-in one. Also, the style we use is Default.

In general though, i can't get any tooltips to show up (super or regular) when i have ShowTooltips set to true as well as EnableSuperTooltip set to true. The properties i set in our derived DockingManager class are below. Am i missing something?

this.ActiveCaptionBackground = new Syncfusion.Drawing.BrushInfo( System.Drawing.Color.White );
this.ActiveCaptionFont = new System.Drawing.Font( "Arial", 8.25F, System.Drawing.FontStyle.Regular );
this.ActiveCaptionForeGround = System.Drawing.Color.Black;
this.AllowTabsMoving = false;
this.AutoHideTabHeight = 18;
this.AutoHideTabFont = new System.Drawing.Font( "Arial", 8.25F, System.Drawing.FontStyle.Regular );
this.BorderColor = System.Drawing.Color.Black;
this.CloseEnabled = false;
this.DisallowFloating = true;
this.DockLabelAlignment = SFTools.DockLabelAlignmentStyle.Left;

this.DockTabFont = new System.Drawing.Font( "Arial", 8.25F );
this.DockTabHeight =18;
this.EnableContextMenu = false;
this.ForwardMenuShortcuts = false;
this.FullCaptionsInAutoHideMode = true;
this.MenuButtonEnabled = false;
this.EnableSuperToolTip = true;
this.SetAutoHideButtonToolTip("AutoHide");

this.InActiveCaptionBackground = new Syncfusion.Drawing.BrushInfo( System.Drawing.Color.White );
this.InActiveCaptionFont = new System.Drawing.Font( "Arial", 8.25F, System.Drawing.FontStyle.Regular );
this.InActiveCaptionForeGround = System.Drawing.Color.Black;
this.VisualStyle = Syncfusion.Windows.Forms.VisualStyle.Default;
this.EnableDoubleClickOnCaption = true;
this.ShowToolTips = true;

Thanks,
Julie


Administrator [Syncfusion]
Replied On March 6, 2009 06:41 AM

Hi Julie,

Thanks for the update.

If you want to display regular tooltip for the captionbuttons , the property EnableSuperToolTip must be set to false. Please do this change in your custom dockingmanager and let me know if you are able to see regular tooltip for the captionbuttons.

If you want to display SuperTooltip for the captionbuttons , set the property EnableSuperToolTip of dockingmanager to true and set SuperTooltip text for all the captionbuttons and assign the Supertooltip component to the dockingmanager.

Please let me know if this helps you.

Regards,
Jaya
jaya


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;