View Issue Details

IDProjectCategoryView StatusLast Update
0006779JEDI VCL00 JVCL Componentspublic2026-05-16 12:03
ReporterlotfizemaliAssigned ToAHUser 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.48 
Target VersionFixed in VersionDaily / GIT 
Summary0006779: Closing a form with jvDbGrid's Mouse click events raises EInvalidOperation
DescriptionWhen you click or doublclick on a JvDBGrid component and you close the form in OnDblClick, onTitleclick, onTitleBtnclick, or other mouse events, the project raise an exception EInvalidOperation "can't focus on desactivated or invisible window" afetr closing the form.
Steps To Reproduce1 - Create a project with two forms : Form1 and Form2
2 - in Form1 : add a Tbutton and add a onClick Event to the button
procedure TForm1.Button1Click(Sender: TObject);
begin
  Form2.Show;
end;
3- in Form2 : add a TJvDBGrid Component an add a onDblClick to the TJvDBGrid
procedure TForm2.JvDBGrid1DblClick(Sender: TObject);
begin
  Close;
end;
4- execute the project
TagsNo tags attached.

Relationships

related to 0006678 resolvedAHUser TJvDBGrid raise EInvalidOperation double clicking on it 

Activities

lotfizemali

2025-02-04 09:27

reporter  

JvDbGridIssue.zip (7,942 bytes)

Issue History

Date Modified Username Field Change
2025-02-04 09:27 lotfizemali New Issue
2025-02-04 09:27 lotfizemali File Added: JvDbGridIssue.zip
2026-05-16 11:54 AHUser Assigned To => AHUser
2026-05-16 11:56 AHUser Status new => resolved
2026-05-16 11:56 AHUser Resolution open => fixed
2026-05-16 11:56 AHUser Fixed in Version => Daily / GIT
2026-05-16 12:03 AHUser Relationship added related to 0006678