View Issue Details

IDProjectCategoryView StatusLast Update
0002838JEDI VCL00 JVCL Componentspublic2005-05-18 06:20
ReporteranonymousAssigned Toobones 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.00 
Target VersionFixed in Version 
Summary0002838: access violation when mouse click between two rows
DescriptionIf you mouse click exactly between two rows in a TJvInspector you get an access violation. Here's the fix...

in JvInspector.pas on TJvCustomInspector.MouseDown method...

    if (ItemIndex < VisibleCount) and (Y >= Pred(ItemRect.Bottom)) and
                                       //!!
      (Y <= Succ(ItemRect.Bottom)) and Assigned(Item) and (Item.RowSizing.SizingFactor <> irsNoReSize) and
      Item.RowSizing.Sizable then
    begin

...my fix is noted by //!!, where the check is made for Assigned(Item)

Thanks.
TagsNo tags attached.

Activities

outchy

2005-04-06 14:45

administrator   ~0006856

What is the version of JvInspector.pas you are using ?
It is located at the end of this file header.
IE: the current version is 1.152
// $Id: JvInspector.pas,v 1.152 2005/03/31 17:40:06 outchy Exp $

This code has not been in the current version for more than one month. You may update your jvcl and jcl to the last version (release 3.00 available here http://sourceforge.net/project/showfiles.php?group_id=45786 or the daily zips http://jvcl.sf.net/daily ).

Regards,

obones

2005-05-18 06:20

administrator   ~0007193

No answers, old code mentionned, this is not an issue anymore.

Issue History

Date Modified Username Field Change
2005-04-04 11:42 anonymous New Issue
2005-04-06 14:45 outchy Note Added: 0006856
2005-04-11 06:26 obones Status new => feedback
2005-05-18 06:20 obones Status feedback => resolved
2005-05-18 06:20 obones Resolution open => no change required
2005-05-18 06:20 obones Assigned To => obones
2005-05-18 06:20 obones Note Added: 0007193