home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
tcl_447.lzh
/
TCL
/
tcl.lzh
/
tcl
/
help
/
displayrequest
< prev
next >
Wrap
Text File
|
1990-05-03
|
473b
|
19 lines
displayrequest - display a requester from Tcl
Usage:
displayrequest message yestext notext
When executed, you will get a requester with the message text on the
screen, and yestext and notext as the names of what are usually "Continue"
and "Cancel" gadgets.
displayrequest returns the string "1" to report selection of the "yes"
option, and "0" to report selection of the "no" option.
example:
set result [displayrequest "Exit without saving changes?" "YES" "NO"]