Re: CreateDialog Pecularity
- To: mathgroup at smc.vnet.net
- Subject: [mg87303] Re: [mg87272] CreateDialog Pecularity
- From: Curtis Osterhoudt <cfo at lanl.gov>
- Date: Mon, 7 Apr 2008 05:16:30 -0400 (EDT)
- Organization: LANL
- References: <200804061042.GAA14418@smc.vnet.net>
- Reply-to: cfo at lanl.gov
Though I'm not quite sure I understand "Modal", I tried both of your
examples ( 6.0.1.0 on 32-bit Linux ). They both displayed the floating
windows, and in both cases I could evaluate other cells (even if I
put "Modal ->True".
--C.O.
On Sunday 06 April 2008 04:42:50 David Park wrote:
> 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.
--
==========================================================
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================
- References:
- CreateDialog Pecularity
- From: "David Park" <djmpark@comcast.net>
- CreateDialog Pecularity