Print Page | Close Window

How to not show all PreviewMode text in mouse over

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=18460
Printed Date: 15 November 2024 at 9:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to not show all PreviewMode text in mouse over
Posted By: mstuart
Subject: How to not show all PreviewMode text in mouse over
Date Posted: 27 May 2011 at 11:35am
Hi all,
I'm using the Report Control to display contact activity records. The Record.PreviewText object is loaded with the activity notes. I have the MaxPreviewLines = 1.

When the user views the list and they move the mouse over the records and the preview text, ALL of the activity notes is displayed in a tooltip. This can amount to many lines. It is very annoying as the user moves the mouse over the records and the tooltips are popping up.

How can I limit the amount of lines displayed in the tooltip?



-------------
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: jpbro
Date Posted: 27 May 2011 at 2:52pm
There may be a better way, but maybe you could just limit the amount of text that you add to the preview?

For limiting to one paragraph:


If LenB(ActivityRecords) <> 0 then
   Record.PreviewText = Split(ActivityRecords, vbNewline)(0)
End If




-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: mstuart
Date Posted: 27 May 2011 at 3:10pm
Hi jpbro,
Works great. Thanx for the tip.


-------------
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


Posted By: jpbro
Date Posted: 27 May 2011 at 9:09pm
Glad to help!

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




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