dialog

ShowDialog issue on Close

Hi, I am sometimes seeing an issue with Window.ShowDialog() where the window physically closes but does not return to the ShowDialog point in the code from where it was shown. I have the following: try { log.Debug("Showing new dialog window."); result = dialogWindow.ShowDialog(); log.Debug("Closing new dialog window."); }...

Display progress from time consuming process

Sorry for my bad English... Using Delphi 7 I want to create a dialog window to show that something is happening in my application when i have to run slow processes. My idea was to do something that i can use like: with TMyDialog.Create do begin //call the time consuming method here Free; end; When i create the dialog, a window wit...

YUI modal panel with non-standard background mask value.

I am trying to setup a modal YUI panel above a YUI Tabview. For CSS purposes [1] the tabs have a z-index that goes up to about 20 (depending on how many tabs there are). The problem I am facing is that the mask that YUI draws for the modality of the panel is behind whatever nonzero mask the tabs have, and so the tabs peek through. So ...

JQuery Dialog not displaying imput type text

I have been trying to add a standard html :<imput type="text" value=""> into a JQuery dialog box, but it does not show up. I have tried with a selector and it was working. I don't understand why it doesn't with text imputs. ...

Need some help synch'ing outer loop counter with dialog.onconfirm()

I am writing a game for Facebook. IN the following code, I have a problem. I have a for loop executing, and in that loop, I call a dialog and implement 'onconfirm' for the dialog. The problem is that I need to access th e loop counter inside of the onconfirm function. But because the onconfirm is called outside of the scope of the for lo...

how to load a page with jquery ui dialog

is that possible to load another page with jquery ui dialog ? Like Dialog + Ajax Thanks ...

Center a xul dialog to screen

In a dialog, I resize some images and then force the window to sizeToContent. Then, I want the dialog to center itself to the screen. How can I do this? ...

Win32: "Save as" dialog file name hint

Some "Save as" dialogs provide a default file name - how is it done? I know how to create basic "Save as" dialog: OPENFILENAME, GetSaveFileName, and all that. But where should I put the string representing, say the file name of currently opened file? I thought it would come from .lpstrFile but this is not the case... Update: I was not ...

jquery dialog scroll bars

Does anyone know if there is a way to disable scroll bars in the jquery dialog box? The content that I have in the div is 300 px but the dialog is set to 200px. It automatically puts the scrollbars but I do not want them. I will add it myself to the second div that makes it bigger than the window. Any help is appreciated. ...

How to prevent Add row dialog from showing for detail grid when no row selected in master

I am using JQGrid 3.4 and have a master and detail grid. The grids employ the add record forms from a button click on the navigator. I want to prevent the display of the add detail row from when no master row is selected. I have figured out how to determine if it the master grid has a selected row or not and to show an alert message box ...

Dojo Dialog dont want to block whole page only fragement/div of the page

Hi I am working on Dojo and Liferay portal. We have portlets which are using Dojo for UI. We want to show dialog ( "Loading..." dialog) for each of the portlets (Divs/Fragments...). Problem is each Dialog block access to whole page,and there are more than one such dialogs would be there. Can we customize/change to restrict Dojo Dialog...

What's the simplest cross-platform way to pop up graphical dialogs in Python?

I want the simplest possible way to pop up simple dialogs in Python scripts. Ideally, the solution would: Work on Windows, OS X, Gnome, KDE Look like a native dialog on any OS Require minimal code To pop up a simple standard dialog should require only minimal code. Essentially you're just saying "Pop up a standard dialog with this ...

Open File Dialog Box

Hello, I'm learning Objective-C and trying to develop a simple zipper application, but I stopped when now, when I need to insert a button at my dialog and this button opens a Open File Dialog that will select a file to compress, but I never used a Open File Dialog, then how I can open it and store the user selected file in a char*? Than...

MessageBox in c#.net

How can I display a messagebox like the Microsoft error message in C#.net The message box should have an OK button and an Show details button. The Show details button should display the error details. Is there a built in class for this? Thank you ...

problem with jquery dialog

I have a partial view with a dropdown (with Paid and unpaid as options) and a button. I am loading this partial view using jquery load, when the user click Paid/Unpaid List link in the sub menu of a page. When i select Paid in dropdown and click the button, it shows the list of paid customers in the jquery dialog and if i select Unpaid...

How to create a MFC dialog with a progress bar in a separate thread?

My application may take a while to connect to a database. This connection is made with a single library function call, i.e. I cannot put progress updates in there and make callbacks or something similar. My idea was to create a dialog with a progress bar in a separate thread before connecting to the DB. This dialog will continually ch...

Ajax call to parent window after form submission

Hi all, Pardon the complicated title. Here's my situation: I'm working on a Grails app, and using jQuery for some of the more complex UI stuff. The way the system is set up, I have an item, which can have various files (user-supplied) associated with it. On my Item/show view, there is a link to add a file. This link pops up a jQuer...

jquery: close dialog on click (anywhere)

hi, is there a default option to close a jquery dialog by clicking somewhere on the screen instead of the close icon? thx, fux ...

Child form causes Parent Form Vertical Scroll

I have a loading dialog that I show with a static method. The loading dialog class is as follows: using System.Threading; using System.Drawing; using System.Windows.Forms; namespace Pf.PfGui2010.Gui.Base { public class PFLoadingDialog : DevExpress.Utils.WaitDialogForm { private static PFLoadingDialog form; private static Threa...

ASP.Net MVC jquery Modal Dialog select from list and refresh Parent

In my project, i want to show a list of something to user and after a row is selected by user, the parent form will refresh without losing last data entry. I've created a sample project, please download and run it. You will see my note in that. (Edit a one row in the MainTable form and click on the "Select Item From List Please..." lin...