"
COPYRIGHT (c) 1993 by Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
"
InfoBox subclass:#WarningBox
instanceVariableNames:''
classVariableNames:'WarnBitmap'
poolDictionaries:''
category:'Views-Interactors'
!
WarningBox comment:'
COPYRIGHT (c) 1993 by Claus Gittinger
All Rights Reserved
this class implements a pop-up box to show an information message
$Header: /cvs/stx/stx/libwidg/WarningBox.st,v 1.2 1993-10-13 01:04:04 claus Exp $
written Summer 93 by claus
'!
!WarningBox methodsFor:'initialization'!
initialize
WarnBitmap isNil ifTrue:[
WarnBitmap := Form fromFile:'Warning.xbm' resolution:100 on:device
].
super initialize.
!
initFormBitmap
formLabel form:WarnBitmap
! !
!WarningBox methodsFor:'realization'!
show
"added bell to wake up user"
device beep.
super show
! !