View Issue Details

IDProjectCategoryView StatusLast Update
0006707JEDI VCL00 JVCL Componentspublic2020-12-01 17:38
ReporterArnoBrinkmanAssigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
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

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-12-01 17:38 ArnoBrinkman New Issue