View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003897 | JEDI VCL | 00 JVCL Components | public | 2006-09-13 01:19 | 2007-01-04 02:35 |
Reporter | jepsen | Assigned To | remkobonte | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | suspended | ||
Platform | Intel 386 | OS | Windows XP | OS Version | Delphi 6 |
Product Version | 3.20 | ||||
Target Version | Fixed in Version | ||||
Summary | 0003897: Error when focussing TJvExMaskEdit and all its descendants via mouse | ||||
Description | When focussing a descendant of TJvExMaskEdit (eg TJvMaskEdit, TJvComboEdit, TJvDBMaskEdit etc.) with an EditMask the cursor will not be placed at the position where the mouse click was but to characters right of it. | ||||
Steps To Reproduce | Put an original TMaskEdit and a descendant of TJvExMaskEdit (eg TJvMaskEdit, TJvComboEdit, TJvDBMaskEdit etc.) on a Form and enter an EditMask. Now start the programm and click from one edit field to the other. You will notice that when the edit field has to be focused the cursor will be placed to characters right of the position of the click. | ||||
Additional Information | When a MaskEdit field with an EditMask is focussed always the charakter after the cursor will be selected. This is done in TCustomMaskEdit.SetCursor by setting the cursor one charakter to the right and then simulating pressing key Shift+Left via SendMessage. When focussing by mouse this routine gets called two times but the key presses seem to go unhandled. So only the cursor moves to the right. | ||||
Tags | No tags attached. | ||||
|
Please try with the latest version from here: http://jvcl.sf.net/daily/ and if this is still happening, please post the zipped sources of a sample application showing the issue. |
2006-09-13 05:08
|
MaskEdit.zip (1,035 bytes) |
|
There was no change with the new source. I gave steps to reproduce in my original report (only visible in advanced view). I attached an example. |
|
Do you need more feedback or were you able to reproduce the error? |
|
I can reproduce this with the attached example. |
|
Combo edits in JVCL are multiline edits (see TJvCustomComboEdit.CreateParams). Because of this the edits behave differently than single-line edits such as TMaskEdit. The reported bug happens also because the combo edits are multiline edits. To make the (multiline) combo edits behave the same (for this case) as single-line edits could be hard to do. Better would IMO to change the combo edits to single-line edits. But this may have implications that I can not totally oversee. |
|
Considering the potential damages to the other components, this will stay as is until someone comes up with an acceptable solution. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-09-13 01:19 | jepsen | New Issue | |
2006-09-13 01:52 | obones | Note Added: 0010115 | |
2006-09-13 01:52 | obones | Status | new => feedback |
2006-09-13 05:08 | jepsen | File Added: MaskEdit.zip | |
2006-09-13 05:10 | jepsen | Note Added: 0010116 | |
2006-09-21 11:00 | jepsen | Note Added: 0010149 | |
2006-09-23 16:40 | remkobonte | Status | feedback => assigned |
2006-09-23 16:40 | remkobonte | Assigned To | => remkobonte |
2006-09-23 16:41 | remkobonte | Note Added: 0010158 | |
2006-09-24 07:15 | remkobonte | Note Added: 0010160 | |
2006-09-24 07:16 | remkobonte | Status | assigned => confirmed |
2007-01-04 02:34 | obones | Status | confirmed => resolved |
2007-01-04 02:34 | obones | Resolution | open => suspended |
2007-01-04 02:34 | obones | Note Added: 0010509 |