[WORKAROUND] Navigation & Header Problem |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
Posted: 19 May 2011 at 3:30pm |
I having trouble understanding the logic behind FocusChanging, SelectionChanged and row navigation when crossing the header boundary.
If focus is in the top row of the main report body, and you push the up-arrow key, the FocusChanging event fires and returns a HeaderRow for the NewRow property - but focus never moves to the HeaderRow, and the SelectionChanged event doesn't fire. If you click the HeaderRow with the mouse, focus goes there, but when you hit the down-arrow key the focus gets stuck in the header, but the FocusChanging event fires as if you were going to navigate back to the report body. SelectionChanged doesn't fire though, and navigation gets "stuck" in the header. Is this the normal and expected behaviour? Is there any way to be able to navigate across the header boundary using only the keyboard? Here's a sample: uploads/2676/ReportFocusHeader.zip |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
Here's a really ugly workaround that I'll use for now because I am desperate (unless someone has a better idea!)
Essentially, I have to simulate a click on the HeaderRow when cursor up is pressed (since Navigator.CurrentFocusInHeader = True doesn't seem to do anything). I also have a static flag in the FocusChanging event to prevent a stack overflow and I manually change the focus there to the newrow when moving from the Header > ReportBody. Ugh... uploads/2676/ReportFocusHeaderWorkaround.zip |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
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 |