Print Page | Close Window

I dont want tooltips an ReportRecordItems

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=13533
Printed Date: 14 November 2024 at 9:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: I dont want tooltips an ReportRecordItems
Posted By: Jebo
Subject: I dont want tooltips an ReportRecordItems
Date Posted: 01 March 2009 at 1:37pm
I dont want to see a tooltip when the mouse is placed over a ReportRecordItem, if the width of this column is too small.

I belief to remember me, that there is a way to deactivate this feature. but I can't remember how to do it.

Can you tell me how please?

THX
Jebo




Replies:
Posted By: Jebo
Date Posted: 03 March 2009 at 2:45am
No way to deactivate ReportRecordItem-tooltips?


Posted By: Aaron
Date Posted: 04 March 2009 at 2:17am
Hi,
 
The only thing you can do is, when adding ReportItem also assign .TooltipText = " "    (not "" because this isn't working, use <SPACE>)
It's nasty solution but it works.
 
Would be nicer to have property: ShowTooltips = True/False
 
 
 


-------------
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: Jebo
Date Posted: 04 March 2009 at 3:50am
THX Aaron!

Uuurgh, that's realy nasty, because the user will always see a empty tooltip! 

Hope CJ will spend a property to make ReportItem-tooltips optionally.



Posted By: Aaron
Date Posted: 04 March 2009 at 4:27am
Hi @Jebo
 
If you want to show tooltips, just add BeforeDrawRow event and add code:

    If showTooltips Then
        Item.Tooltip = Item.Caption 'or Value
    Else
        Item.Tooltip = " "
    End If
   
 
And create an option to set showTooltips (Checkbox, Commandbar menu item or.....)
 
Note: When you set showTooltips True or False don't forget to call wndReportControl.Redraw, this will take immediately effect on BeforeDrawRow event.
 
 
 


-------------
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: Jebo
Date Posted: 04 March 2009 at 4:32am
OK thank U, will give a try!


Posted By: Aaron
Date Posted: 16 March 2009 at 5:05pm
Originally posted by Jebo Jebo wrote:

I dont want to see a tooltip when the mouse is placed over a ReportRecordItem, if the width of this column is too small.

I belief to remember me, that there is a way to deactivate this feature. but I can't remember how to do it.

Can you tell me how please?

THX
Jebo

 
Hi,
 
You can disable this... wndReportControl.EnableToolTips False 
 
I did not know  
 
 


-------------
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: Jebo
Date Posted: 17 March 2009 at 6:02am
Bull's eye!

That's Exactly of what I tried to remind me!



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