Skip to main content
Formatting
Source Link
N.J.Evans
  • 5.1k
  • 21
  • 26

I'm new and this is my 1st answer. Try the following:

`Button["Import"Button["Import", file = SystemDialogInput["FileOpen"]; 
 If[\[Not]If[ TrueQ[fileNot@TrueQ[file == $Canceled], data = Import[file]], 
 Method -> "Queued"]`"Queued"]

I'm new and this is my 1st answer. Try the following:

`Button["Import", file = SystemDialogInput["FileOpen"]; 
 If[\[Not] TrueQ[file == $Canceled], data = Import[file]], 
 Method -> "Queued"]`

I'm new and this is my 1st answer. Try the following:

Button["Import", file = SystemDialogInput["FileOpen"]; 
If[ Not@TrueQ[file == $Canceled], data = Import[file]], 
Method -> "Queued"]
Source Link
uC-Harry
  • 239
  • 1
  • 5

I'm new and this is my 1st answer. Try the following:

`Button["Import", file = SystemDialogInput["FileOpen"]; 
 If[\[Not] TrueQ[file == $Canceled], data = Import[file]], 
 Method -> "Queued"]`