Topic: How to click once on a table Grid cell to display the results in one .
How to click once on a table Grid cell to display the results in one or more cells in Memo
My Visual Database → Script → How to click once on a table Grid cell to display the results in one .
How to click once on a table Grid cell to display the results in one or more cells in Memo
So, it's actually multiple edit fields and not one memo field!
That's what I wanted
thank you very much Mr derek
Sorry
Everything is good
But I had a problem adding the image in the previous example
Hello Mouasomar, Hi Derek
1 - Add a DBImage (or a TImage) on Form1
2 - Add this code after the GetDetails procedure:
procedure get_details (Sender: TObject; MouseLeft, MouseRight, MouseMiddle: boolean; Shift, Alt, Ctrl: boolean; X, Y: Integer);
begin
......
.......
Form1.DBImage1.Clear;
Form1.DBImage1.LoadFromDatabase('YourTable', 'YourPicture', Form1.GridEmployees.dbItemID);
end;
JB
Sorry jean.brezhonek, but the operation was unsuccessful.
You need to add the image component in "Database tables"
Hi Mouasomar, Salut Jean et Destiny,
Jean's code is correct.
If you upload your application, we could see where your mistake is , otherwise it's just guess-work.
It should be something like this (see attached).
Derek.
The operation was successful.
Thank you very much Mr derek
Hello
in this case how to write the code (emplsex)
see attached
Thank you very very very very much Mr derek
My Visual Database → Script → How to click once on a table Grid cell to display the results in one .
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi