Print Page | Close Window

Office 2007 Tooltips?

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


Topic: Office 2007 Tooltips?
Posted By: rdeboer
Subject: Office 2007 Tooltips?
Date Posted: 12 November 2010 at 3:42pm

You can use PaintManager.ColumnStyle = = xtpColumnOffice2007 to make it look like Office2007, but the tooltips are old-fashioned style.

IS there a way to show Ofice2007 style tooltips, or Office2007 VisualTheme for ReportControl?




-------------
Product: Xtreme Suite Pro (ActiveX) version 11
Platform: Windows XP SP3 (32bit)
Language: Visual Basic 6.0 SP6



Replies:
Posted By: Aaron
Date Posted: 12 November 2010 at 3:47pm
Hi,
 
Yes, there is:
 
With Me.wndReportControl.ToolTipContext
        .Style = xtpToolTipOffice2007
End With
 
 


-------------
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: rdeboer
Date Posted: 12 November 2010 at 6:01pm
Thank you! 

BTW Is there a way to set the Tooltip for the whole Row instead of the Item?



-------------
Product: Xtreme Suite Pro (ActiveX) version 11
Platform: Windows XP SP3 (32bit)
Language: Visual Basic 6.0 SP6


Posted By: Aaron
Date Posted: 13 November 2010 at 2:07am
Hi,
 
Assign tooltip values yourself when adding items
 
With frmMain.wndReportControl.Records.Add
    With .AddItem("first col")
        .Tooltip = "test tooltip"
    End With
    With .AddItem("second col")
        .Tooltip = ""
    End With
End With
 
OR
 
Use GetTooltipInfo event to display your own tooltips
 
Private Sub ReportControl1_GetToolTipInfo(ByVal toolTipInfo As XtremeReportControl.IReportToolTipInfo)
   With toolTipInfo
      .Text = "Row: " & .Row.Index & " Col: " & .Item.Index
   End With
End Sub
 
Hope this helps Wink
 
 


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



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