Disable tooltip through Code in Crystal Report.NET with VS.NET 2003

Posted on 2004-09-28
Last Modified: 2008-01-09
i am using CR.NET with VS.NET 2003 (VB.NET). i have more that 100+ reports in my project. all r working fine.
The only problem i m facing is tooltip. How can i disable tool tip from code. i dont want to change it from designer cause it takes 2-3 days to set tooltip for all objects in all reports.

Thanks in anticipation.
Question by:Ayaz187
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 42

Accepted Solution

frodoman earned 168 total points
ID: 12168436
How to disable Tool Tips when viewing a report at runtime in the CR Viewer:

The code in the above example is for CR8.5 but it's using RDC so it'll work with CR.Net as well.


Author Comment

ID: 12168461
in CR.NET report object does not have conditionFormula.

For I = 1 To Report.Sections.Count
' Loop through all the sections in the report
For X = 1 To Report.Sections(I).ReportObjects.Count

' Loop through all the ReportObjects in each section
If Report.Sections(I).ReportObjects.Item(X).Kind = crFieldObject Or crTextObject Then
Report.Sections(I).ReportObjects.Item(X).ConditionFormula(crToolTipTextConditionFormulaType) = "Chr(9)"

End If

Next X

Next I

LVL 10

Assisted Solution

ebolek earned 166 total points
ID: 12168951
If you dont see conditionformula that means you are not using RDC. Either get the licenses for it or you wont be able to do this with the standalone .net application

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

LVL 42

Expert Comment

ID: 12169062
What do you mean there's no condition formula?
LVL 42

Expert Comment

ID: 12169070
Oops - stale browser.  As Emre said - it's there if you're using the RDC model.  This shouldn't be a license issue if you have Visual Studio...
LVL 100

Expert Comment

ID: 12169073
You may also find that doing this slows down the presentation of reports to the user.

LVL 100

Assisted Solution

mlmcc earned 166 total points
ID: 12169088
This may be the answer for the ActiveX Viewer

LVL 42

Expert Comment

ID: 12369997
Recommend split frodoman, ebolek, mlmcc


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C# Infragistics UltraGrid - Export to Excel 2 185
Crystal Reports with Datasets - Modify Report 5 96
Count If in Crystal Reports 2 27
Crystal Reports - Logos 2 21
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question