View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006779 | JEDI VCL | 00 JVCL Components | public | 2025-02-04 09:27 | 2025-02-04 09:27 |
Reporter | lotfizemali | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 3.48 | ||||
Target Version | Fixed in Version | ||||
Summary | 0006779: Closing a form with jvDbGrid's Mouse click events raises EInvalidOperation | ||||
Description | When 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 Reproduce | 1 - 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 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-02-04 09:27 | lotfizemali | New Issue | |
2025-02-04 09:27 | lotfizemali | File Added: JvDbGridIssue.zip |