dr_eyeball 16 Posted June 21, 2007 <span style='color:blue'>Edit: Thanks for the replies. I'll use one of the suggested alternative methods.</span> Q: What are the characteristics of a "child" dialog? Does it allow 2 dialogs to be on screen at the same time? Currently when I use createDialog for a 2nd dialog, it hides the first one. Is there any way to avoid that? If instead, I use createDisplay for the 2nd dialog, it doesn't seem to have a valid display ID and the 2nd dialog does not appear at all. What are the usage requirements here? How is the 2nd dialog's display UI object obtained? (eg: Using findDisplay returns "No display".) (I can probably work around this by merging the dialogs together, but this removes the modularity aspect of it.) Any advice would be appreciated, or references to systems that already use these concepts. Share this post Link to post Share on other sites
lwlooz 0 Posted June 21, 2007 Hello there, according to my tests(just repeated with 1.08) "createDisplay" does not look for resources inside the description.ext , but only uses config-defined resources. Furthermore to me it seems that createDisplay is no different than createDialog on hiding the first dialog/display , but I could be mistaken there. For modularity I use control-groups , which might not be perfect , but are quite neat nevertheless. Hope that helps Share this post Link to post Share on other sites
crashdome 3 Posted June 21, 2007 You can hide an entire section of a dialog and call it into display at any point. Likewise, I think it is possible to even have say ... three different sets of controls in the same location and based on what you do you can hide/show them via a single custom function. They would all be layered on top of each other is all were visible, but if you can control their visibility, it would appear as a seperate dialog. ctrlShow for modularity, use includes and inheritance Share this post Link to post Share on other sites
ColonelSandersLite 0 Posted June 21, 2007 You can hide an entire section of a dialog and call it into display at any point. Likewise, I think it is possible to even have say ... three different sets of controls in the same location and based on what you do you can hide/show them via a single custom function. They would all be layered on top of each other is all were visible, but if you can control their visibility, it would appear as a seperate dialog.ctrlShow for modularity, use includes and inheritance Yes, you can hide stacked controls. I take advantage of that trick in the particleparams section of my particle parameter utility. Specifically, to control which set of edit boxes are shown when you select which color you want to edit in the color array. Feel free to take a look at how I did that if you think it will help. I'm busy researching dialog info right now. If I come to your exact problem and it hasn't been solved yet, I'll let you know what I turn up. I'm being systematic though, and I can't say when I may get to that area of my research. It would probably be a while. Share this post Link to post Share on other sites