Enter Key doesn't seem to be working... |
Post Reply |
Author | ||
cspano
Newbie Joined: 13 March 2010 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 16 March 2010 at 8:02pm |
|
Using version ReportControl 13.3.1,
When editing the contents of a cell, the Enter Key doesn't appear to have any effect (and I can't trap the KeyDown event). This prevents the user from hitting 'Enter' if after they've typed in the desirable cell contents (in order to indicate they they've finished entering data in that cell). All settings are default except as follows: Set rc = Me.ReportControl1.Object rc.PaintManager.FixedRowHeight = False ' allows for multi-line headers rc.BorderStyle = xtpBorderFrame rc.AllowEdit = True columns have following settings: Column.EditOptions.SelectTextOnEdit = True |
||
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
|
Hi,
I can't reproduce what you mentioned, I'm able to use ENTER key and caption does change.
Can you upload test project ?
|
||
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.... |
||
cspano
Newbie Joined: 13 March 2010 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
|
Unfortunately, I'm using the Report Control on a MSAccess (2003) Form, which is connected to a MSSQLServer 2005 database on a network. I will attempt to extract all the relevant code and objects into a stand-alone MDB file to allow you to reproduce the error...
|
||
cspano
Newbie Joined: 13 March 2010 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
|
OK here's a small MDB file which demonstrates the problem(s) effectively.
There's just one form, 'Test Form'. Column #2 and column #3 are both editable (via double click). Assuming that you experience the same results that I do, you will see that the Enter key has no effect when editing a cell. Also notice that any changes that are made in the 3rd column are not accepted (they revert back to the original value when the user leaves the cell or presses Tab). I'm not sure if this problem is related. 20100319_134426_CodeJockTest.zip |
||
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
|
Hi,
I didn't know you used RC in Access database... I tried with your sample and you are right about the ENTER key. It doesn't do anything when pressing ENTER key and also NO event is fired. The other thing you mentioned I can't reproduce, the value changes when using TAB key or selecting other cell.
I will add problem to my list and wait for response of support
Thanks
|
||
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.... |
||
cspano
Newbie Joined: 13 March 2010 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
|
Thanks for your efforts. For the second issue, I've found a workaround regarding the null values in the 3rd column (basically, I don't assign a Null value, instead I convert nulls to zero-length strings).
The bigger issue is the Enter Key behavior. That is a major inconvenience for my end user who expects normal behavior during data entry situations. I eagerly await for a solution... |
||
tompat
Newbie Joined: 19 August 2012 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
|
Hello,
This still appears to be an issue when using Report Control with MS Access. I am using version 15.3.1 with Access 2010. When AllowEdit = True is set, neither the Enter key or Up/Down arrows work. This is a serious concern as it renders the control unusable for my users. Please could you let me know if there is a fix/workaround? Many thanks, Tom
|
||
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
|
Strange, I have v15.3.1 installed and this works fine. I can get the Enter key and Arrow keys to fire in the PreviewKeyDown event when in editmode for the ReportControl.
|
||
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
||
tompat
Newbie Joined: 19 August 2012 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
|
Hello, any response to this long standing issue?
Many thanks, Tom |
||
tompat
Newbie Joined: 19 August 2012 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
|
Works perfectly. Thank you Xander75!
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 |