CreateDialog Pecularity
- To: mathgroup at smc.vnet.net
- Subject: [mg87272] CreateDialog Pecularity
- From: "David Park" <djmpark at comcast.net>
- Date: Sun, 6 Apr 2008 06:42:50 -0400 (EDT)
I often like to use CreateDialog as an easy way to put material up in a
window even through there is no active 'dialog'. However there is a strange
feature in which if one makes the window floating then it also appears to
become Modal, even if Modal is set to False.
CreateDialog[
"Does Modal depend on the WindowFloating option?\nThis has \
WindowFloating \[Rule] False\nTry to evaluate another cell in the \
notebook",
WindowFrame -> "Normal",
WindowElements -> {"MagnificationPopUp", "HorizontalScrollBar",
"VerticalScrollBar"},
WindowFrameElements -> {"CloseBox", "ZoomBox", "MinimizeBox",
"ResizeArea"},
WindowTitle -> "Create Dialog Test",
WindowFloating -> False];
CreateDialog[
"Does Modal depend on the WindowFloating option?\nThis has \
WindowFloating \[Rule] True\nTry to evaluate another cell in the \
notebook",
WindowFrame -> "Normal",
WindowElements -> {"MagnificationPopUp", "HorizontalScrollBar",
"VerticalScrollBar"},
WindowFrameElements -> {"CloseBox", "ZoomBox", "MinimizeBox",
"ResizeArea"},
WindowTitle -> "Create Dialog Test",
WindowFloating -> True,
Modal -> False];
1 + 1
Try to evaluate the last statement with the two different CreateDialog
statements.
--
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/
- Follow-Ups:
- Re: Re: CreateDialog Pecularity
- From: "peter lindsay" <plindsay@mcs.st-and.ac.uk>
- Re: CreateDialog Pecularity
- From: Curtis Osterhoudt <cfo@lanl.gov>
- Re: Re: CreateDialog Pecularity