View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001991 | JEDI VCL | 00 JVCL Components | public | 2004-07-21 07:24 | 2005-08-10 03:03 |
Reporter | marcgeldon | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0001991: JvLookupEdit - setting LookupValue to '' | ||||
Description | try to set the LookupValue from a JvLookupEdit to '' (empty string). It will work, but the DisplayValue will not update. The DisplayValue (and the shown text) has the value from the selection before you changed to ''. | ||||
Additional Information | I build a work-around for this. Maybe it can help: ORIGINAL ======== procedure TJvLookupEdit.SetLookupValue(const Value: string); begin TJvPopupDataWindow(FPopup).Value := Value; Text := TJvPopupDataWindow(FPopup).DisplayValue; end; WITH WORK-AROUND ================ procedure TJvLookupEdit.SetLookupValue(const Value: string); begin TJvPopupDataWindow(FPopup).Value := Value; If (Value = EmptyStr) then Text := '' else Text := TJvPopupDataWindow(FPopup).DisplayValue; end; | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2004-07-21 07:24 | marcgeldon | New Issue | |
2005-08-10 03:03 | obones | Status | new => resolved |
2005-08-10 03:03 | obones | Resolution | open => fixed |
2005-08-10 03:03 | obones | Assigned To | => obones |
2005-08-10 03:03 | obones | Note Added: 0007764 |