Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Bug or Feature ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug or Feature ?

 Post Reply Post Reply
Author
Message
Detlev Schubert View Drop Down
Groupie
Groupie


Joined: 14 August 2006
Location: Germany
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Detlev Schubert Quote  Post ReplyReply Direct Link To This Post Topic: Bug or Feature ?
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Detlev Schubert View Drop Down
Groupie
Groupie


Joined: 14 August 2006
Location: Germany
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Detlev Schubert Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Detlev Schubert View Drop Down
Groupie
Groupie


Joined: 14 August 2006
Location: Germany
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Detlev Schubert Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Detlev Schubert View Drop Down
Groupie
Groupie


Joined: 14 August 2006
Location: Germany
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Detlev Schubert Quote  Post ReplyReply Direct Link To This Post 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
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.046 seconds.