MathGroup Archive 2012

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

Search the Archive

Create new dialog after these computations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127809] Create new dialog after these computations
  • From: Dr_Spencer <marcelloallegretti at live.com>
  • Date: Thu, 23 Aug 2012 20:49:54 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

hi! i make this code:

dialog = CreateDialog[{TextCell["Enter your name"], 
InputField[Dynamic[nm], String], 
TextCell["Select picture"],
Row[Table[
  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