home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (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
-
-