Luiz Felipe Heemann
-
Content Count
4 -
Joined
-
Last visited
Posts posted by Luiz Felipe Heemann
-
-
The problem is how to open Form2 without firing the OnCellClick() present in the DBGrid in Form2. The use of PostMessage() message haddling like suggest does the same problem above.
-
2 minutes ago, Dany Marmur said:I would try to post a message (if this is Windows).
I didn't understand
-
Event form 1:
procedure TForm1.Panel1DblClick(Sender: TObject); begin TForm2.Create(Self).ShowModal; end;
Event form 2:
procedure TForm2.DBGrid1CellClick(Column: TColumn); begin ShowMessage('Test'); end;
What should I do to avoid fom2's onCellClick event?
When I perform the OnDblClick event (Form1) to open Form2, it fires the OnCellClick event of Form2, without having clicked on the form2 grid
in VCL
Posted
I corrected the post