Using Thin Client and Internet Smart Code

Creating either a thin client and server application or a client application ready to communicate with an existing server from your design is done by setting up a special Smart Code callback. To do this, you only need to do the following:
  1. Display the Callbacks dialog for a widget in your design.
  2. Select the "Smart Code" toggle.
  3. Choose the type of Smart Code you want.
  4. Specify a Group.
  5. Name and add the callback.
There are three types of Smart Code:

1. Get/Set.

This provides you with a suite of "getter" and "setter" functions for a group of widgets.

2. Thin Client.

This provides not only the getters and setters, it also triggers X-Designer to generate a separate thin client application containing the user interface and a server application containing the callback you are defining. In addition, the code to handle the communication between the two is generated.

3. Internet.

This also provides the getters and setters and tells X-Designer to generate a client application which is ready to communicate with a remote server. The code for communicating with the server is also generated. The name and location of the remote server can be supplied in the Customize dialog.

See also: