<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Limit number of same rich dialogs in display</title><link>https://answers.axonivy.com/questions/290/limit-number-of-same-rich-dialogs-in-display</link><description>&lt;p&gt;I want to load rich dialogs into a display but I want to allow only one instance for one rich dialog. If a rich dialog is started that is already loaded in the display, then the already loaded rich dialog should be selected. Does anyone have an idea how I can achieve this?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/290/limit-number-of-same-rich-dialogs-in-display" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 23 Jul 2009 06:54:50 -0400</lastBuildDate><item><title>Answer by MichaelDänzer</title><link>https://answers.axonivy.com/questions/290/limit-number-of-same-rich-dialogs-in-display/291</link><description>&lt;p&gt;You must implement this on your own. But it is pretty simple. The trick is to delegate the opening of each rich dialog to a central place. For each rich dialog that should be opened, you pass the information to the central location. There you maintain a list or registry of all the rich dialogs that are already open. So, when a new dialog should be loaded, you check in the registry if the dialog is already loaded. If yes, you get already loaded dialog form the registry and select it. If not, then you start the new rich dialog and add it to the registry. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MichaelDänzer</dc:creator><pubDate>Thu, 23 Jul 2009 06:54:50 -0400</pubDate><guid>https://answers.axonivy.com/questions/290/limit-number-of-same-rich-dialogs-in-display/291</guid></item></channel></rss>