View Issue Details

IDProjectCategoryView StatusLast Update
0006707JEDI VCL00 JVCL Componentspublic2021-06-04 14:03
ReporterArnoBrinkmanAssigned To 
PriorityhighSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0006707: TJvDBGrid displays Black boxes or 'random' graphic from other parts of the screen
DescriptionA change made in TJvDBGrid is causing many weird issues.

The modification that has been done is in procedure TJvDBGrid.MouseUp(...)

This "inherited MouseUp(Button, Shift, X, Y);" has been replaced with:
  begin
    OriginalScrollInfo.cbSize := SizeOf(OriginalScrollInfo);
    OriginalScrollInfo.fMask := SIF_POS;
    // Store scrollbar position
    GetScrollInfo(Handle, SB_HORZ, OriginalScrollInfo); //
    LockWindowUpdate(Handle);
    try
      inherited MouseUp(Button, Shift, X, Y);
      Perform(WM_HSCROLL, MakeWParam(SB_THUMBPOSITION, OriginalScrollInfo.nPos), 0); //Repos
    finally
      LockWindowUpdate(0);
    end;
  end;

Steps To ReproduceA JvDBGrid with data X

A button with opens a new modal form also with a JvDBGrid where you can select a row.
After doubleclick the data is passed back and the data X is filtered and the grid refreshed.

You'll see all cells are completly black or some random parts from anywhere on the form. placed in the cells.
TagsNo tags attached.

Activities

obones

2021-06-04 14:03

administrator   ~0021977

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

Issue History

Date Modified Username Field Change
2020-12-01 17:38 ArnoBrinkman New Issue
2021-06-04 14:03 obones Status new => feedback
2021-06-04 14:03 obones Note Added: 0021977