View Issue Details

IDProjectCategoryView StatusLast Update
0005127JEDI VCL00 JVCL Componentspublic2012-02-29 16:53
ReportercechetoAssigned Toobones 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version3.33 
Target VersionFixed in Version3.45 
Summary0005127: Click event in TThumbNailView does not select the Thumbnail correctly
DescriptionWhen using ssVertical scroll mode and vtFitToScreen align view, if the user clicks in the right side of the thumbnail it is not selected.
Additional InformationThis is caused because it uses the defined thumbnail gap for calculating the , instead of the calculated gap for aligment.
It can be solved by replacing the line:
  TempX := JkCeil((X + HorzScrollBar.Position) / (FThumbSize.X + FThumbGap));
with:
  if (FAlignView = vtFitToScreen) and (FScrollMode = smVertical) then
    Spact := ((Width - 20) - (FThumbSize.X * FMaxX)) div (FMaxX + 1)
  else
    Spact := FThumbGap;
  TempX := JkCeil((X + HorzScrollBar.Position) / (FThumbSize.X + Spact));
TagsNo tags attached.

Activities

obones

2010-03-08 15:27

administrator   ~0017243

Please provide the zipped sources of a sample application showing this

obones

2010-06-07 13:46

administrator   ~0017444

Any news?

obones

2010-10-08 15:17

administrator   ~0017786

Assuming this is fixed

Issue History

Date Modified Username Field Change
2010-01-24 15:20 cecheto New Issue
2010-03-08 15:27 obones Note Added: 0017243
2010-03-08 15:27 obones Status new => feedback
2010-06-07 13:46 obones Note Added: 0017444
2010-10-08 15:17 obones Note Added: 0017786
2010-10-08 15:17 obones Status feedback => resolved
2010-10-08 15:17 obones Fixed in Version => Daily / SVN
2010-10-08 15:17 obones Resolution open => fixed
2010-10-08 15:17 obones Assigned To => obones
2012-02-29 16:53 obones Fixed in Version Daily / SVN => 3.45