Print Page | Close Window

Bug or Feature ?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=6768
Printed Date: 06 November 2025 at 9:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug or Feature ?
Posted By: Detlev Schubert
Subject: Bug or Feature ?
Date Posted: 30 March 2007 at 6:39am
Hallo,
 
I work with Commandbars ActiveX 10.3, an I don't know if this is a Bug or a feature whe the tooltips are displayed. On normal buttons, the tooltips are shown below toolbaar with title, on xtpControlSplitButtonPopup Buttons above without title, like Image. Here my code:
 
If Not CommandBars.ToolTipContext.IsBalloonStyleSupported Then
     CommandBars.ToolTipContext.ShowTitleAndDescription False, xtpToolTipIconNone
     CommandBars.ToolTipContext.Style = xtpToolTipStandard
  Else
     CommandBars.ToolTipContext.ShowTitleAndDescription True, xtpToolTipIconInfo
     CommandBars.ToolTipContext.Style = xtpToolTipBalloon
  End If
.....
.....
   AddControl Control.CommandBar.Controls, xtpControlButton, ID_THEMA
   
    Set Control = .Controls.Add(xtpControlSplitButtonPopup, ID_SCHWIERIG, GetString(ID_SCHWIERIG, 2))
      AddControl Control.CommandBar.Controls, xtpControlButton, ID_SCHWIERIG_1
      AddControl Control.CommandBar.Controls, xtpControlButton, ID_SCHWIERIG_2
 
 
 
This effect is only when I use CommandBars.ToolTipContext.ShowTitleAndDescription True. If it's wrong how I use it, please show me the right way. Thx.
 
regards
Detlev



Replies:
Posted By: Oleg
Date Posted: 30 March 2007 at 9:19am
Hi,
You just didn't set any description text for this control.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Detlev Schubert
Date Posted: 30 March 2007 at 9:28am
Hello,
 
Sorry but I can't follow you. All tooltips are coming from the same ressource file:
    ID_TEST_SCHWIERIG       "Sch&wierige Fragen...\nSchwierige Fragen\nSchwierige Fragen nochmals üben"
 
regards
Detlev


Posted By: Detlev Schubert
Date Posted: 30 March 2007 at 9:30am
Originally posted by Detlev Schubert Detlev Schubert wrote:

Hello,
 
Sorry but I can't follow you. All tooltips are coming from the same ressource file:
    ID_SCHWIERIG       "Sch&wierige Fragen...\nSchwierige Fragen\nSchwierige Fragen nochmals üben"
 
regards
Detlev


Posted By: Detlev Schubert
Date Posted: 30 March 2007 at 9:39am
Hallo Oleg,
 
ahhhh ... sorry,  now I get it, thx ...   
I must set seperately the description.text for that control:
Control.DescriptionText = GetString(ID_TEST_THEMEN, 3)
Perhaps you can help me at my other Question.
 
Thanks very much
regards
Detlev
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net