Print Page | Close Window

(solved) tooltip for toolbar

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=11852
Printed Date: 07 May 2024 at 9:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: (solved) tooltip for toolbar
Posted By: nenkalo
Subject: (solved) tooltip for toolbar
Date Posted: 16 August 2008 at 5:43pm
hi dear

i use this code for presenting 2 key in toolbar by " T " and " P " caption. i want to set tooltip description for these .

  Set ToolBar = CommandBarsTextbox.Add("TAGS", xtpBarTop)
    AddControl ToolBar.Controls, xtpControlButton, 301, " T ", True, "description for show !!!! but it dont work "
    AddControl ToolBar.Controls, xtpControlButton, 302, " P ", False, "description for show !!!! but it dont work "

but by this code my descrption dont show :( and caption shows in tooltip !



can u help me ?

****
P.N : ID 301 and 302 dont reffer to any image in imagemanager .



-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit)
Language: Visual Basic 6.0



Replies:
Posted By: Aaron
Date Posted: 17 August 2008 at 1:10am
Hi,
 
Description will be used in statusbar. If no tooltiptext is set, caption will be used for showing tooltip. You have to set Tooltip text seperately. Use:
 
 .TooltipText = "Some tooltiptext for this button"
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: nenkalo
Date Posted: 17 August 2008 at 6:11am
tnx dear
solved :)


-------------
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit)
Language: Visual Basic 6.0



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