ddeBase.new Method [AX 2012]

Initializes a new instance of the Object class.

public void new(
    DDEServer srv, 
    str topic, 
    FormListControl list)

Run On

Client

Parameters

srv
Type: DDEServer Class

topic
Type: str
list
Type: FormListControl Class

DDETopic is the base class that handles DDE transactions in a Microsoft Dynamics AX DDE server application.

This is an abstract class that contains virtual member functions that correspond to each DDE transaction type. You should overload these member functions in a derived class, one for each topic that the system implements. The derived class is where all the programmer-defined code should reside.

The base implementation replies with a negative response on all DDE transactions. Therefore, the programmer must overload one or more of the methods in the following table.

ddeTopic::Connect

Optional

ddeTopic::Disconnect

Optional

ddeTopic::Execute

Required if the topic should support the XTYP_EXECUTE transaction

ddeTopic::Poke

Required if the topic should support the XTYP_POKE transaction

ddeTopic::Request

Required if the topic should support the XTYP_REQUEST transaction

Show: