Changeset 605
- Timestamp:
- Dec 4, 2009 5:08:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expgui
- Property rcs:date changed from 2002/01/25 21:26:41 to 2002/07/03 21:02:35
- Property rcs:lines changed from +206 -12 to +17 -9
- Property rcs:rev changed from 1.55 to 1.56
r557 r605 162 162 # check the path -- can DOS use it? 163 163 if {[string first {\\} $expgui(script) ] != -1} { 164 MyMessageBox -parent . -title " Invalid Path" \165 -message {Error -- You cannot run EXPGUI/GSAS from a network drive unless it is mapped to a "drive" (like F:). Use "Map network drive" to access this directory}\166 -icon error -type {" Limp Ahead"} -default "limp ahead" \164 MyMessageBox -parent . -title "Networked Path" \ 165 -message "Note -- You may have problems running EXPGUI/GSAS from a network drive. If you have errors, map $expgui(gsasdir) to a \"drive\" (like F:). (Use \"Map network drive\" to do this.)" \ 166 -icon error -type {"Be brave"} -default "be brave" \ 167 167 -helplink "expgui_Win_readme.html NetPath" 168 168 } … … 202 202 #--------------------------------------------------------------------------- 203 203 if {$expgui(expfile) != ""} { 204 if ![file exists $expgui(expfile)] { 204 # is there a space in the name? 205 if {[string first " " $expgui(expfile)] != -1} { 206 update 207 MyMessageBox -parent . -title "File Name Error" \ 208 -message "File name $expgui(expfile) is invalid -- EXPGUI cannot process experiment files with spaces in the name" \ 209 -icon warning -type Continue -default continue 210 # -helplink "expguierr.html OpenErr" 211 set expgui(expfile) {} 212 } elseif ![file exists $expgui(expfile)] { 205 213 update 206 214 set ans [ … … 748 756 set grabStatus [grab status $oldGrab] 749 757 } 750 grab $w758 catch {grab $w} 751 759 focus $w.bot.1 752 760 # for windows rearrange window stacking … … 764 772 if {[string compare $oldGrab ""]} { 765 773 if {![string compare $grabStatus "global"]} { 766 grab -global $oldGrab774 catch {grab -global $oldGrab} 767 775 } else { 768 grab $oldGrab776 catch {grab $oldGrab} 769 777 } 770 778 }
Note: See TracChangeset
for help on using the changeset viewer.