prop_ddetimeout.htm
Navigation: Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:DDETimeOut ====== | |
A property of the SYSTEM built-in variable that allows you to set and get the DDE timeout used for all DDE commands. This value is in hundredths of seconds and the default value is 500.
Example:
DDERetVal STRING(20)
WinOne WINDOW,AT(0,0,160,400)
ENTRY(@s20),USE(DDERetVal)
END
MyServer LONG
CODE
OPEN(WinOne)
SYSTEM{PROP:DDETimeOut} = 12000 !Set time out to two minutes
MyServer = DDESERVER('MyApp','DataEntered') !Open as server
ACCEPT
CASE EVENT()
OF EVENT:DDErequest !Data requested once
DDEWRITE(MyServer,DDE:manual,'DataEntered',DDERetVal)
!Provide data once
END
END
prop_ddetimeout.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1