MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Create new dialog after these computations

  • To: mathgroup at
  • Subject: [mg127809] Create new dialog after these computations
  • From: Dr_Spencer <marcelloallegretti at>
  • Date: Thu, 23 Aug 2012 20:49:54 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

hi! i make this code:

dialog = CreateDialog[{TextCell["Enter your name"], 
InputField[Dynamic[nm], String], 
TextCell["Select picture"],
  PopupMenu[Dynamic[x], {a, b}, Dynamic[x],
   BaselinePosition -> p], {p, {Bottom}}]],
a = Import["C:\\Users\\myuser\\Desktop\\mathematica\\00.png"];
b = Import["C:\\Users\\myuser\\Desktop\\mathematica\\01.jpg"];
DefaultButton[NotebookClose[dialog]; MessageDialog[Dynamic[x], WindowTitle -> nm]]}] 

when i choose the picture and click ok, in a new window i see the picture. now if i click "ok", the windows is closed. I want to creare a new window where i read some informations about the chosen image.

is it possible??

  • Prev by Date: Re: Ambiguity of "Plot"
  • Next by Date: Re: How to use Pick[]; Is this a bug?
  • Previous by thread: Re: Ambiguity of "Plot"
  • Next by thread: function manipulation