View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006707||JEDI VCL||00 JVCL Components||public||2020-12-01 17:38||2021-06-04 14:03|
|Product Version||Daily / GIT|
|Target Version||Fixed in Version|
|Summary||0006707: TJvDBGrid displays Black boxes or 'random' graphic from other parts of the screen|
|Description||A 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:
OriginalScrollInfo.cbSize := SizeOf(OriginalScrollInfo);
OriginalScrollInfo.fMask := SIF_POS;
// Store scrollbar position
GetScrollInfo(Handle, SB_HORZ, OriginalScrollInfo); //
inherited MouseUp(Button, Shift, X, Y);
Perform(WM_HSCROLL, MakeWParam(SB_THUMBPOSITION, OriginalScrollInfo.nPos), 0); //Repos
|Steps To Reproduce||A 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.
|Tags||No tags attached.|