home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
windows
/
kpwdemo.zip
/
SETICOND.SRC
< prev
next >
Wrap
Text File
|
1990-07-26
|
1KB
|
43 lines
window (quit,15,2,50,17.56,,[popup,thickFrame,titleBar,showChildren,siblings],,,,close_event).
text ('
Install applications on the Program Manager.
To install KnowledgePro just press INSTALL.
Group Name:
Description:
Command Line:
Icon Name:
').
ed1 is edit_line ('Windows Applications',,19,4.8,25).
ed2 is edit_line ('KPWIN Demo',,19,6.8,25).
ed3 is edit_line ('\kpwin\kpwinrun.exe demo.ckb',,19,8.8,25).
ed4 is edit_line ('\kpwin\kpwin.ico',,19,10.8,25).
button ('Install',install,11,14,).
button ('Quit',quit,32,14,9).
show_window ().
set_focus (?ed1).
topic install.
group is get_text (?ed1).
describe is get_text (?ed2).
file is get_text (?ed3).
iconName is get_text (?ed4).
channel is dde_open (dde_topic, progman, progman).
command1 is concat ('[ShowGroup(',?group,',2)]').
command2 is concat ('[ShowGroup(',?group,',1)]' ).
command3 is concat (' [AddItem(',?file,',',?describe,',',?iconName,')]').
dde_execute (?channel,[?command1,?command2,?command3]).
wait (,1).
new_kb ('demo.ckb').
end.
topic dde_topic.
end.
topic quit.
new_kb ('demo.ckb').
end.