28 lines
1.1 KiB
HTML
28 lines
1.1 KiB
HTML
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<link rel="stylesheet" type="text/css" href="..\styles.css">
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<img src="..\..\ro.png" alt="" align="right">
|
||
|
|
|
||
|
|
<!-------------------------------------------------------------------------->
|
||
|
|
|
||
|
|
<p class="h1"><span>Dynamic Request Sample</span></p>
|
||
|
|
|
||
|
|
<h2>Purpose</h2>
|
||
|
|
<p>This example shows how to use the <b>TRODynamicRequest</b> component to execute server methods.</p>
|
||
|
|
|
||
|
|
<h2>Examine the Code</h2>
|
||
|
|
<ul>
|
||
|
|
<li>See how the three methods were defined by editing the service library.
|
||
|
|
Do this by making the <strong>server</strong> the selected project
|
||
|
|
and by using the menu option: <strong>RemObjects | Edit Service Library</strong>.
|
||
|
|
Note: if you don't see this menu option but see 'Service Builder' instead,
|
||
|
|
you still have the client set as the current project.
|
||
|
|
Examine the methods added to <strong>DynamicRequestService</strong>.</li>
|
||
|
|
<li>Check how the server methods were implemented in <strong>DynamicRequestService_Impl.pas</strong>.</li>
|
||
|
|
<li>See the simple code needed to invoke the methods in <strong>DynamicRequestClientMain.pas</strong>.</li>
|
||
|
|
</ul>
|
||
|
|
|
||
|
|
</body>
|
||
|
|
</html>
|