Link to home
Start Free TrialLog in
Avatar of Ayaz187
Ayaz187

asked on

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

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.
ASKER CERTIFIED SOLUTION
Avatar of frodoman
frodoman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ayaz187
Ayaz187

ASKER

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

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What do you mean there's no condition formula?
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...
Avatar of Mike McCracken
You may also find that doing this slows down the presentation of reports to the user.

mlmcc
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Recommend split frodoman, ebolek, mlmcc