modal

Close all modal dialogs in Dojo

Does anybody know how I can close all modal dialogs created by Dojo ? Apparently there used to be a dojo.popup.closeAll function, but this is no longer available in the latest version of the Dojo API that comes with Spring JS. ...

Borland C++ Builder 5 - Cancel Via Escape Key Not Working

I'm having a rather perplexing problem with the Escape key handler on a dialog box in Borland C++ Builder 5. Are there any other requirements for the Escape key to fire a cancel event (other than those I've listed below)? The "Cancel" button (a TBitBtn) has its Cancel property set to true. The "Cancel" button has its Default property ...

Visual Studio 2008 viewing dialog after breakpoint hit

I am building a C++ MFC application that creates modal dialog boxes, one at a time, while hiding the parent dialog. I wish to view the newly created modal dialogs when a breakpoint is hit when debugging in Visual Studio. However, anytime a breakpoint is hit, the contents of the dialog box are no longer rendered. The box simply goes white...

Delphi, possible to make a form modal to specfic parent form only?

I've got an application where there's a main background form, from there user can only non-modal forms that maintains different part of the system. The non-modal forms overrides the CreateParams method so each one displays a button in the start task bar: procedure TfmMaterialsPlanning.CreateParams(var Params: TCreateParams); begin in...

Dojo "loading"-message

I'm new to Dojo, so I need a little help. Some of my links takes a while (when the user clicks, it takes several seconds before the page starts loading), and I'd like to add a "loading"-message. I can do it the "old fashion way", but I want to learn the new, easier, smarter Dojo-way. Exactly how it works is not important right now, bu...

How is "Are you sure you want to navigate away from this page? " generated in browsers?

I have a page where I open a "modal window". It is really just a DIV, with an IFRAME inside, where I load another page. When I want to refresh the page, the browser pops up a window saying "Are you sure you want to navigate away from this page? Reloading this page will cause the modal window to disappear. Press OK to continue, or Cancel ...

How do make modal dialog in WPF?

I am writing my first application in WPF and want to have the user input some data on a modal dialog window. Apparently, this is not simple to do in WPF, because the parent window stays fully enabled, and the method that created the new child window doesn't stop and wait for the child window to call Close(). Instead it just keeps going...

Cocoa - Modal Window With Animating NSOpenGLView behind it

I have an NSWindow subclass (GameWindow) containing an NSOpenGLView subclass (GameView). The app is windowed (does not go fullscreen). An OpenGL animation in GameView is fired ~30 times a second by a timer. For presentation reasons, the GameView animation MUST continue regardless of what else is happening in the app. The only time it...

Best option for modal screens in ASP.NET

I'm looking for the best way to implement a modal popup in ASP.NET of another ASP.NET page. I'm coding for Firefox 2.x+ and can use JQuery, but I'm not very familiar with it. I see a lot of solutions that use "AJAX", but I'm not sure in what context, so I haven't gone down that route. ...

Troubleshooting: JDialog which is modal and yet not modal?

Stumped by this, but maybe, just maybe, someone has had this problem before and can point me in the right direction... I have a JDialog for displaying the progress of a long-running task, which I have expressly created as modal with a defined owner: progressDialog = new JDialog( ((Dialog)windowParent), true ); ... progressDialog....

modal image popups

I have seen a few sites that have a thumbnail and when you click it, it enlarges the image in a modal like popup. Can anyone tell me how this is done? Thanks! ...

jquery modal opens to full page

I have a nested jquery modals Modal1 & modal2 both contain updatePanels. To update the panels I am using javascript: var prm = Sys.WebForms.PageRequestManager.getInstance(); prm._doPostBack('UpDateLookUp',''); UpDateLookUp is the id of the updatePanel for modal1. Modal1 contains the link, which is in the updatePanel, for modal2. Modal...

Creating a win32 modal window with CreateWindow

Hi, I create a window with CreateWindow() and show it with ShowWindow(). But the parent window on which this was created should be disabled until user returns from this window, i.e. it should simulate modal dialog box. Any help is appreciated. Thanks ...

Modal problem with asp.net being programmed with vb.net

Hi, I have an ajax modal panel with a div on it that I access from the server and dynamically insert a table into, by showing the values of various controls on the calling form. My problem is this, it works fine if all my controls are doing auto postback, but it ruins the user experience, because tabbing through the controls, the contr...

asp.net postback with jquery?

Hi there, Can anyone help, I have a asp.net button but recently replaced it with a standard html button ... What i need to do is postback to an asp.net page and ensure a method is called the button before was an asp.net button so i had this event Protected Sub btnCancelar_Click(ByVal sender As Object, ByVal e As System.EventArgs) ...

What's your favorite jQuery modal plugin?

I'm looking for a jQuery plugin to show a modal-style popup consisting of a few paragraphs of text and a picture, which the user will view and close. So far, my search has turned up jqModal, BlockUI, and SimpleModal. Do any of these stand out? Would you suggest something else? (This is for use in a PHP site - no framework involved.) ...

In IE6, when I display a modal, a dropdownlist from the parent page is visible on top of the model

In IE6, when I display a modal, a dropdownlist from the parent page is visible on top of the model. i.e. the dropdownlist from the parent page is overlaying above the model popup. In firefox and IE 7 it is fine (the dropdownlist is tucked underneath the model like it is suppose to). Any ideas what it can be? ...

How to achieve modal dialogs from NotifyIcon context menu?

I've got a shell tray icon with an attached context menu. The problem I'm having is that calling ShowDialog() from a context menu Clicked handler does not result in a modal dialog. It's easy to reproduce this with a default C# project. Simply add the following code to the Form1.cs file: protected override void OnLoad(EventArgs e) { ...

Limit modal size of a "PopUp" in Flex?

I have this : private function tileList_itemClick2(evt:ListEvent):void { img = new Image(); img.maintainAspectRatio = true; img.addEventListener(Event.COMPLETE, image_complete); img.addEventListener(ResizeEvent.RESIZE, image_resize); img.addEven...

Flex: indeterminate ProgressBar in modal pop up?

Whenever I set a indeterminate progress bar in a modal pop-up via PopUpManager, there is no progress displayed. If I add the same ProgressBar to the parent regularly or make the pop-up non-modal it works. Is there a reason why it doesn't work in modal pop-ups? and a way to make it work? Thanks. ...