View Issue Details

IDProjectCategoryView StatusLast Update
0006779JEDI VCL00 JVCL Componentspublic2025-02-04 09:27
ReporterlotfizemaliAssigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version3.48 
Target VersionFixed in Version 
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.

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