![]() |
Navigator Issues |
Post Reply ![]() |
Author | |
LittleJK ![]() Senior Member ![]() ![]() Joined: 13 April 2006 Status: Offline Points: 168 |
![]() ![]() ![]() ![]() ![]() Posted: 14 November 2006 at 5:17pm |
Hi we are trying use the navigator functions in the Report Control... currently when we set the Report Control to allow edit... when using the navigator.moveUp and navigator.moveDown with the keydown event, it skips every 2 to 3 rows at a time.
There has to be something stupid going on. Thanks |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Keydown event is processing navigator buttons by itself. And when you're trying to move a row up or down, it's moved 2 times. To avoid this behavior use PreviewKeyDown and cancel default key processing. Example:
-- WBR, Serge |
|
![]() |
|
LittleJK ![]() Senior Member ![]() ![]() Joined: 13 April 2006 Status: Offline Points: 168 |
![]() ![]() ![]() ![]() ![]() |
Thanks,
Quick Question? We have the FocusSubItems set to true and the columns we are editing have the SelectTextOnEdit to true too... we are running into an issue that when using the keys to navigate from cell to cell, it does not act the same if we clicked into the cell.... Such as it does not highlight the entire text when you click into the cell, it just moves the cursor to the end. Is there a way to select the text? we were using sendkey {end} +{home} but I'm finding that method is not totally correct. Thanks again |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
If SelectTextOnEdit is True, then all that you need is call wndReportControl.EditItem for the corresponding item, and it will be selected automatically.
-- WBR, Serge |
|
![]() |
|
LittleJK ![]() Senior Member ![]() ![]() Joined: 13 April 2006 Status: Offline Points: 168 |
![]() ![]() ![]() ![]() ![]() |
thanks,
I'm just confused how to call it for an entire column because I'm geting an error on trying to set if for all the rows in a specific column... there are no real examples in the help file. thanks |
|
![]() |
|
LittleJK ![]() Senior Member ![]() ![]() Joined: 13 April 2006 Status: Offline Points: 168 |
![]() ![]() ![]() ![]() ![]() |
Nevermind... I found one of your old posts about it in another thread.. thanks for all the help!
|
|
![]() |
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 |