home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
closeexitd.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
1KB
|
49 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)closeexitd.tcl 1.5
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)closeexitd.tcl 1.5 14 Nov 1995 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
Class CloseExitDialog : {TemplateDialog} {
constructor
method destructor
method popUp
method handleOk
attribute action
}
constructor CloseExitDialog {class this name} {
set this [TemplateDialog::constructor $class $this $name]
# Start constructor user section
$this delHelpButton
Label new $this.message
$this config -modal yes -okPressed {%this handleOk} -title Close
# End constructor user section
return $this
}
method CloseExitDialog::destructor {this} {
# Start destructor user section
# End destructor user section
}
method CloseExitDialog::popUp {this} {
$this.message text "Close will mean Exit. Do you really want to Close?"
$this TemplateDialog::popUp
}
method CloseExitDialog::handleOk {this} {
eval [$this action]
}
# Do not delete this line -- regeneration end marker