Page 1 of 1

ShowProcessList

Posted: Thu 25 Aug 2005 09:56
by Jackout
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 :!:

Posted: Thu 25 Aug 2005 09:59
by GEswin
Link a Tdatasource to TMyServerControl

Posted: Thu 25 Aug 2005 10:02
by Jackout
GEswin wrote:Link a Tdatasource to TMyServerControl
Ok but can you tell me how to do that? show some example?

Posted: Thu 25 Aug 2005 16:31
by GEswin
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...