View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003994 | JEDI VCL | 00 JVCL Components | public | 2006-11-09 00:30 | 2007-01-05 02:05 |
| Reporter | Werewolf | Assigned To | obones | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | x86 | OS | Windows | OS Version | XP+SP2 |
| Product Version | Daily / GIT | ||||
| Target Version | Fixed in Version | 3.30 | |||
| Summary | 0003994: TJvCustomInspectorItem.SetEditCtrl crashes in unit JvInspector when custom edit control was created | ||||
| Description | before replacing WindowProc of current EditCtrl we must check if it was set by InitEdit method patch attached | ||||
| Tags | No tags attached. | ||||
|
2006-11-09 00:30
|
JvInspector.patch (739 bytes)
Index: JvInspector.pas
===================================================================
--- JvInspector.pas (revision 10960)
+++ JvInspector.pas (working copy)
@@ -3995,7 +3995,7 @@
NewItem := VisibleItems[Value]
else
NewItem := nil;
-
+
if not (csDestroying in ComponentState) then
// bugfix WAP. Why repaint the screen when the component is going away anyway.
if DoBeforeItemSelect(NewItem) then
@@ -7024,6 +7024,7 @@
if Assigned(EditCtrl) then
begin
{$IFDEF VCL}
+ if TMethod(EditCtrl.WindowProc).Code=@EditWndPrc then
EditCtrl.WindowProc := FEditWndPrc; //Edit_WndProc;
{$ENDIF VCL}
{$IFDEF VisualCLX}
|
|
|
see also Following Mantis 3391, setting the Focus may set EditCtrl to nil |
|
|
This is now merged into SVN |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2006-11-09 00:30 | Werewolf | New Issue | |
| 2006-11-09 00:30 | Werewolf | File Added: JvInspector.patch | |
| 2006-11-09 00:33 | Werewolf | Note Added: 0010428 | |
| 2007-01-05 02:04 | obones | Status | new => resolved |
| 2007-01-05 02:04 | obones | Fixed in Version | => Daily / SVN |
| 2007-01-05 02:04 | obones | Resolution | open => fixed |
| 2007-01-05 02:04 | obones | Assigned To | => obones |
| 2007-01-05 02:04 | obones | Note Added: 0010546 |