ShowProcessList

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Jackout
Posts: 2
Joined: Thu 25 Aug 2005 09:51

ShowProcessList

Post by Jackout » Thu 25 Aug 2005 09:56

hay.

How use ShowProcessList from TMyServerControl
I mean how to display the result of:
MyServerControl1. ShowProcessList(false);
how to display the result on DBGrid or some other component.

(Delphi 7 prof.)

Ps. THX for any help :!:

GEswin
Posts: 186
Joined: Wed 03 Nov 2004 16:57
Location: Spain
Contact:

Post by GEswin » Thu 25 Aug 2005 09:59

Link a Tdatasource to TMyServerControl

Jackout
Posts: 2
Joined: Thu 25 Aug 2005 09:51

Post by Jackout » Thu 25 Aug 2005 10:02

GEswin wrote:Link a Tdatasource to TMyServerControl
Ok but can you tell me how to do that? show some example?

GEswin
Posts: 186
Joined: Wed 03 Nov 2004 16:57
Location: Spain
Contact:

Post by GEswin » Thu 25 Aug 2005 16:31

Well,

1 - Drop a TMyConnection on a form and fill in needed properties to connect.
2 - Drop a TMyServerControl on form and set Connection propertie to previous TMyConnection.
3 - Drop a TDataSource and set DataSet propertie to previous TMyServerControl.
4 - Drop a TDBGrid and set DataSource propertie to previous TDataSource.
5 - Drop a TButton and OnClick event put next code:

Code: Select all

 MyServerControl1. ShowProcessList(false); 
And then it's done...

Post Reply