Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - ToolTipText Style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ToolTipText Style

 Post Reply Post Reply
Author
Message
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Topic: ToolTipText Style
    Posted: 24 November 2005 at 5:27pm
How does one set the style of the ToolTip text for a CommandBar? Whenever I try to do so I always affect the button style and not the ToolTip style whose properties share the same name.
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: 25 November 2005 at 2:52am

Hi,

What do you mean by "style" of Tooltip Text?

What code you use and what effect want to get?

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2005 at 11:13am

From the help file for describing the tooltip text style:

Description

The Style property gets\sets the style of the tool tip window.

Public Property Style() As XTPToolTipStyle

I set the property like so:

Dim Control As CommandBarControl

Control.Style = xtpToolTipBalloon

This instead affects the button style and not the tooltip style.

 

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: 26 November 2005 at 7:03am

You must call

CommandBars.ToolTipContext.Style = xtpToolTipBalloon

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.187 seconds.