Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Office 2007 Tooltips?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Office 2007 Tooltips?

 Post Reply Post Reply
Author
Message
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post Topic: Office 2007 Tooltips?
    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
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: 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....
Back to Top
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post 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
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: 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....
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.172 seconds.