User Tools

Site Tools


prop_ddemode.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:DDEMode ====== Previous pageReturn to chapter overviewNext page

A property of the SYSTEM built-in variable that allows you to set normal DDE event behavior (0, the default) whereby all DDE events are sent to the window that opened the DDE channel, or one (1), which causes all DDE events to be sent to the top window of the current thread.

Example:

DDERetVal  STRING(20)

WinOne WINDOW,AT(0,0,160,400)

       ENTRY(@s20),USE(DDERetVal)

      END

MyServer   LONG

CODE

OPEN(WinOne)

SYSTEM{PROP:DDEMode} = 1         !Send events to top window of current thread

MyServer = DDESERVER('MyApp','DataEntered') !Open as server

ACCEPT

END

prop_ddemode.htm.txt · Last modified: 2021/04/15 15:57 (external edit)