View Issue Details

IDProjectCategoryView StatusLast Update
0006061JEDI VCL00 JVCL Componentspublic2015-09-14 13:20
Reporterdelphichem1Assigned ToAHUser 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.47 
Target VersionFixed in Version3.48 
Summary0006061: JvDBGrid double click to resize (with proposition to fix)
DescriptionIf dgIndicator is set to False, when double clicking to resize does not resize the right column, and it cause exception if it is the first column.
Additional InformationOn TJvDBGrid.CalcSizingState(X, Y: Integer; var State: TGridState;
Add
  if Index > FirstVisibleColumn + VisibleColCount then
    Index := FirstVisibleColumn + VisibleColCount;

  if not (dgIndicator in Options) then <----- add
    FResizeColumnIndex := Index <----- add
  else <----- add
    FResizeColumnIndex := Index - 1;// Store the column index to resize.
TagsNo tags attached.

Activities

obones

2013-01-15 16:16

administrator   ~0020387

Please provide the zipped sources of a sample application showing this.

delphichem1

2013-01-15 17:48

reporter   ~0020391

1- Simply open JvDBGridExportDemo in ..\jvcl\examples\JvDBGridExport

2- Click on DBGrid1

3- In options uncheck dgIndicator

4- Run program

5- Double click between columns FileName and Size to resize

stevegr

2013-02-15 20:10

reporter   ~0020431

Hi,

A fix is uploaded in 6069 issue. Thank's for reporting,

Regards,
Argonet Development Group.

AHUser

2013-05-25 14:25

developer   ~0020500

Fixed in svn revision 13517.

Issue History

Date Modified Username Field Change
2013-01-15 01:29 delphichem1 New Issue
2013-01-15 16:16 obones Note Added: 0020387
2013-01-15 16:16 obones Status new => feedback
2013-01-15 17:48 delphichem1 Note Added: 0020391
2013-02-15 20:10 stevegr Note Added: 0020431
2013-05-25 14:25 AHUser Note Added: 0020500
2013-05-25 14:25 AHUser Status feedback => resolved
2013-05-25 14:25 AHUser Fixed in Version => Daily / SVN
2013-05-25 14:25 AHUser Resolution open => fixed
2013-05-25 14:25 AHUser Assigned To => AHUser
2015-09-14 13:20 obones Fixed in Version Daily / GIT => 3.48