| **Navigation:**  [[introduction.htm|Language Reference]] > [[chapter runtime properties.htm|App C - PROP: Runtime Properties]] > Complete Property List >====== PROP:DDEMode ====== | [[prop customcolor.htm|{{btn_prev_n.gif|Previous page}}]][[chapter runtime properties.htm|{{btn_home_n.gif|Return to chapter overview}}]][[prop ddetimeout.htm|{{btn_next_n.gif|Next 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**