![]() |
Bug or Feature ? |
Post Reply ![]() |
Author | |
Detlev Schubert ![]() Groupie ![]() Joined: 14 August 2006 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You just didn't set any description text for this control.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Detlev Schubert ![]() Groupie ![]() Joined: 14 August 2006 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
Detlev Schubert ![]() Groupie ![]() Joined: 14 August 2006 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
|
|
![]() |
|
Detlev Schubert ![]() Groupie ![]() Joined: 14 August 2006 Location: Germany Status: Offline Points: 25 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |