| ############################################################################# |
| # Visual Tcl v1.07 Project |
| ################################# |
| ################################# |
| proc TkW:message {message} { |
| global OK MSG_title WAIT TKW |
| if {[winfo exists .msg]} { |
| wm deiconify .msg; return |
| toplevel .msg -class Toplevel \ |
| wm focusmodel .msg passive |
| wm overrideredirect .msg 0 |
| wm geometry .msg +100+100 |
| #wm iconbitmap .msg @$TKW/shared/images/setup2.xbm |
| #wm iconmask .msg @$TKW/shared/images/setupmask2.xbm |
| #creates the message widget: |
| message .msg.msg -justify center -text $message -background #dddddd -aspect 300 |
| -font -Adobe-Helvetica-Medium-R-Normal-*-*-120-*-*-*-*-*-* -padx 9 \ |
| -pady 3 -text button -textvariable $OK -width 8\ |
| pack .msg.msg -padx 5 -pady 5 |
| #-anchor nw -bordermode ignore |
| pack .msg.but18 -side bottom -padx 5 -pady 5 |
| #-x 110 -y $H2 -width 100 -height 28 -anchor nw -bordermode ignore |
| #pack .msg.lab19 -width 50 -height 30 -padx 10 -pady 10 |