deactivate window 命令示例

在下面的示例中,定义并激活一个名为 woutput1 的窗口。当显示完 customer 表中的一个记录后,程序等待用户按任意键并使窗口失效。


close databases
open database (home( ) + 'samples\data\testdata')
use customer && 打开 customer 表

clear
define window woutput1 from 2,1 to 13,75 title 'output' ;
close float grow shadow zoom
activate window woutput1

display
wait window 'press a key to deactivate the window'
deactivate window woutput1
release window woutput1