Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am building a cdf application,which has multiple screens,every screen was linked to another screen.

Right now I am using CreateDialog. Are there any other options of displaying multiple screens to users?

share|improve this question
    
The help entry of CreateDialog ("See also") nicely lists a number of relevant useful functions. –  Yves Klett Nov 5 '12 at 14:49
add comment

1 Answer 1

Since all windows in Mathematica are basically Notebook objects (notebook windows, palettes, dialog windows, etc.), one can use the more general

CreateWindow[DialogNotebook[...]]

approach, which is a bit more customizable than CreateDialog. The other option is to use the more specific Dialog function, but it is rather limited when it comes to designing a mutli-windowed gui.

The other way is to abuse the floating element of e.g. ActionMenu:

ActionMenu[Graphics[Circle[], ImageSize -> 50], {
  Pane[
   "This is a window that can be used to display text when the circle 
    is clicked.", {300, 200}
  ]}, Appearance -> None]

Mathematica graphics

Note that this won't stay if any window is clicked, but is useful to display material temporarily.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.