![]() |
[SOLVED] HitTest & Header Problem |
Post Reply
|
| Author | |
jpbro
Senior Member
Joined: 12 January 2007 Status: Offline Points: 1357 |
Post Options
Thanks(0)
Quote Reply
Topic: [SOLVED] HitTest & Header ProblemPosted: 19 May 2011 at 10:38am |
|
Calling HitTest method of ReportControl while the mouse is over a header record returns no column or row information, and ht = xtpHitTestUnknown.
This is the same result as if the mouse is over the scrollbar, or at the blank area of a report. Is there any way to determine if the mouse is over the header area? Sample: uploads/2676/ReportHitTestHeader.zip |
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 May 2011 at 9:32am |
|
Hi,
you're right. HitTest is currently only implemented for the body, but not for the header and footer rows. Andre |
|
|
Codejock support
|
|
![]() |
|
jpbro
Senior Member
Joined: 12 January 2007 Status: Offline Points: 1357 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 May 2011 at 9:55am |
|
Thanks Andre, here's a workaround if anyone needs it:
It would be nice if ReportHitTest.ht enums were added for header and footer area though! |
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 May 2011 at 12:27pm |
|
Added for next release:
xtpHitTestHeaderRows xtpHitTestBodyRows (same as xtpHitTestReportArea, I suggest to use the new name) xtpHitTestFooterRows Andre |
|
|
Codejock support
|
|
![]() |
|
jpbro
Senior Member
Joined: 12 January 2007 Status: Offline Points: 1357 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 May 2011 at 1:00pm |
|
Great, thanks a lot Andre!
|
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
tomurphy
Groupie
Joined: 06 June 2008 Location: Australia Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 July 2011 at 9:25pm |
|
Hi
Could you also add a hit test on the scrollbar and the scrollbar buttons?
Cheers
Tom
|
|
|
Cheers
Tom |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |