View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001720 | JEDI VCL | 04 Feature Request | public | 2004-05-04 04:49 | 2004-05-14 11:44 |
Reporter | anonymous | Assigned To | user72 | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | won't fix | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001720: Check Value on pressing <Enter> in TJvSpinEdit | ||||
Description | 1) It's useful (I think) if SpinEdit performs value checking on pressing <Enter> (not on exit only). Pressing <Enter> says "End of input, check me". 2) How can I get notification on value cange? OnChange doesn't work... (JVCL2.10) | ||||
Additional Information | 1)I did it for me: ... procedure TJvCustomSpinEdit.KeyDown(var Key: Word; Shift: TShiftState); begin inherited KeyDown(Key, Shift); // > if Key = VK_RETURN CheckValueRange(Value, true); // < if ArrowKeys and (Key in [VK_UP, VK_DOWN]) then .... 2) I did it too (dirty :(): procedure TJvCustomSpinEdit.Change; .... if Assigned(OnChange) then OnChange(Self); end; | ||||
Tags | No tags attached. | ||||
|
Please upgrade to JVCL 3 for an OnChange fix. Checking the value when ENTER is pressed is non-standard behavior and is better handled by writing your own KeyDown/KeyPress handler. |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-05-04 04:49 | anonymous | New Issue | |
2004-05-05 23:57 |
|
Note Added: 0004162 | |
2004-05-06 00:43 |
|
Status | new => feedback |
2004-05-14 11:44 |
|
Status | feedback => resolved |
2004-05-14 11:44 |
|
Resolution | open => won't fix |
2004-05-14 11:44 |
|
Assigned To | => user72 |