Create a new visual part named SameWindow consisting of two Label parts and two Text parts. Make it look like the following:DDE uses four strings to identify all information to be exchanged. The four strings are Server name, Topic, Item, and Format.The name used by client applications to identify the server application. The server name is usually, but not always, the actual name of the server application. For example, the server name for Microsoft Excel is Excel. This name must be unique to avoid name collisions with other servers.A logical grouping of the data that a server can provide. The choice of groupings is a decision of the application developer. Examples of topics are stockprices or autoprices.The name of specific values that the server can provide. Examples of items for the topic stockprices would be IBM or Microsoft.A keyword that identifies the format or formats in which the data can be provided. An example of a format for stockprices would be string.To complete the settings page, specify samewindow for the Server name, and then select New. Notice that a new row has been added to the table. Specify topic for Topic, item for Item, and string for Format.Select OK to accept the changes to the settings page.Complete the DDE server part by connecting it to the Server Text part. Select Connect > topic_item_string from the DDE Server pop-up menu.The topic_item_string attribute is the concatenation, separated by underscores, of the Topic, Item, and Format specified in the DDE Server settings page. VA Smalltalk added this to the public interface of the DDE Server part for you.Complete the connection by connecting the topic_item_string attribute to the Server Text part's object attribute. Now the DDE Server will broadcast the contents of the Server Text part to any interested DDE clients whenever the Text part's object attribute changes. The broadcast will occur with each keystroke, because you accepted the default settings for the text part.
![]() |