Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - How to tell if Row/Record is a Header?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to tell if Row/Record is a Header?

 Post Reply Post Reply
Author
Message
darryls View Drop Down
Newbie
Newbie
Avatar

Joined: 01 April 2008
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote darryls Quote  Post ReplyReply Direct Link To This Post Topic: How to tell if Row/Record is a Header?
    Posted: 30 April 2008 at 2:03pm
Currently I have a generic function that returns the "ID" of the currently
.FocusedRow.

I would ideally like to see something added like .GroupRow.

I would like to ignore header rows since any action should only be
preformed on "real" rows.

HeaderRowsAllowAccess does not work in this case since I am doing
Excel style filtering.

HitTest would also not work since the user can move row with keyboard.

Thanks,
Darryl


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: 01 May 2008 at 1:08am
Hi,
 
In the SelectionChanged event you could determine if the headerrows section is selected.
 
if wndReportControl.Navigator.CurrentFocusInHeadersRows then "do nothing"
Back to Top
darryls View Drop Down
Newbie
Newbie
Avatar

Joined: 01 April 2008
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote darryls Quote  Post ReplyReply Direct Link To This Post Posted: 02 May 2008 at 1:09pm
thanks for your help.

I guess I could have a variable track what row i am on and
check that if i am in a header row.

I hope we can have this as a property someday from Codejock.

Darryl

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