Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - I dont want tooltips an ReportRecordItems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

I dont want tooltips an ReportRecordItems

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


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Topic: I dont want tooltips an ReportRecordItems
    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

Back to Top
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2009 at 2:45am
No way to deactivate ReportRecordItem-tooltips?
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2009 at 4:32am
OK thank U, will give a try!
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2009 at 6:02am
Bull's eye!

That's Exactly of what I tried to remind me!
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.219 seconds.