Print Page | Close Window

ItemHasExpandButton tooltip - how to

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=16587
Printed Date: 24 November 2024 at 2:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ItemHasExpandButton tooltip - how to
Posted By: mstuart
Subject: ItemHasExpandButton tooltip - how to
Date Posted: 13 April 2010 at 7:29pm
Hi all,
I've added an Item (which contains a URL) to a grid and also added the Flag = ItemHasExpandButton + ItemHasEdit. I would like to add a tooltip to the button, like "Click to launch web site".

How do I do that?

-------------
Regards,
Mark Stuart

Product: Xtreme SuitePro (ActiveX) v13.2.1
Platform: WinXP (32bit)/Win7 (64bit)
Language: VB6 (SP6), Magic eDeveloper v9.4, uniPaaS v1.9



Replies:
Posted By: Aaron
Date Posted: 15 April 2010 at 5:08pm
Hi,
 
Same here, Item.Flags = ItemHasExpandButton the Item has an InplaceButton already
 
Dim Item As PropertyGridItem    
Set Item = Category.AddChildItem(PropertyItemString, "URL", "")
      Item.Flags = ItemHasExpandButton
      Item.InplaceButtons(1).Tooltip = "Open URL in new window"
 
Hope this helps also
 
 


-------------
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: mstuart
Date Posted: 15 April 2010 at 5:50pm
Hi Aaron,
Thanx for your help on my questions. I really appreciate it, as I'm new to VB6 (huh?) and Codejock. I've been using another development tool for the last 18 years.

I'm getting used to the Id's of objects - Item.InplaceButtons(1) - to get to them. It's a new concept for me.

Now I've just got to find where they are.



-------------
Regards,
Mark Stuart

Product: Xtreme SuitePro (ActiveX) v13.2.1
Platform: WinXP (32bit)/Win7 (64bit)
Language: VB6 (SP6), Magic eDeveloper v9.4, uniPaaS v1.9



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