dialog

Java Multiple Input Dialog

I have a Java application and I want to open a new dialog from the main interface where the user can enter his name, surname and country and then click ok. How can I open a dialog which has a number of different input fields and then save that information in a variable? ...

Win32 newbie: Firefox-like find bar

Firefox has this nice find-a-text-on-the-page dialog, which is non-modal and shows up at the bottom of the window. How to do something similar using just Win32? I guess there has to edit control but do I have to position it manually on parent window WM_SIZE? How do I dismiss the dialog, i.e. how to make it disappear? ...

Limiting the number of selectable files in a Flash file upload dialog

Is this possible through flash? I have to create a flash uploader where you can define the maximum number of files that can be selected. ...

ASP.NET MVC "thickbox" Modal Dialog and selectList form

User has to input a field by selecting a row from a list. I can show a list in Modal Dialog with "thickbox". something like this. <%= Ajax.ActionLink("Please Select From List...", "ShowItemsList", "MyController",ViewData.Model, new AjaxOptions { InsertionMode = InsertionMode.Replace }, new { @class = "thickbox" })%> But i do not k...

jquery dialog in asp.net initialise dialog with serverside call

I'm really trying to get to grips with this jquery. What i want to do is load a jquery dialog but before it loads i need to do some server side processing and bind a datalist inside the dialog. I have know idea how to do this? ...

Axapta Dialog Validation

I've found several posts and articles around the net talking about validating form fields in dialogs, but none of the examples I've found seem to work properly. Can someone post a complete, concise example of x++ code that generates a dialog containing a single text field, performs simple validation (if text = "abc") on it, and either c...

Can you set the DefaultResponse for a Gtk Dialog in Glade?

In my code, I have lines like this: Builder builder = new Builder(); builder.AddFromFile(gladefile); FileChooserDialog dialog = (FileChooserDialog) builder.GetObject("dialog"); dialog.DefaultResponse = ResponseType.Ok; Is there a way to set the default response in the glade file, rather than doing it manually? ...

Can you set the FileFilters for a Gtk Dialog in Glade?

In my code, I have lines like this: Builder builder = new Builder(); builder.AddFromFile(gladefile); FileChooserDialog dialog = (FileChooserDialog) builder.GetObject("dialog"); FileFilter[] filters = new FileFilter[2]; filters[0] = new FileFilter(); filters[0].Name = "Some filter"; filters[0].AddPattern("*.someextension"); filters[...

How to recreate jquery dialog after destroy

Hi, I'm creating three modal dialogs on page load (using $(document).ready(function() {). I create these dialogs by calling a setDialogWindows() method, and pass it the div for the dialog. Dialog creation code is below: function setDialogWindows($element) { $element.dialog({ autoOpen: false, modal: true, show: 'blind', hide: '...

Creating a progress bar that runs on another thread, while keeping calculation in main thread

Preface: I know this is an unusual/improper way to do this. I can do this with a "real" ShowDialog(), background worker/thread, and so on. I'm not looking for help doing it that way; I am trying to do specifically what I describe here, even if it is ugly. If this is impossible for X reason, please let me know though. I have created...

WinForms dialogs with TopMost = true

I have a dialog implemented in WinForms that is shown as a notify dialog on the bottom right of the screen. The problem is that whenever is shown it takes the focus and this happens only when TopMost = true. How can I solve this? ...

jQuery UI modal dialog not blocking

I am new to javascript and jQuery. I am trying to implement a modal dialog using jQuery UI widgets. The modal dialog shows up correctly with OK and Cancel buttons, but the dialog('open') function call does not seem to block and wait for an OK or Cancel click. For example, when I run the following code .....on button click okToDelete...

wix custom dialog for config edit

hi i'm trying make a setup msi for my application with wix v3 I have a problem about this task; I need a user input that will be stored in my application's config file (for example i need a dialog for sql connection string and the user input will be written in application config file.) I tried to google but got nothing worked Any help ...

Displaying a "Please Wait" Dialog for a Non-Thread Safe task.

I am using 3rd party library and some of the functions of the library take a long time to execute so I want to display a "Please Wait" dialog while the functions are busy. Normally I would do something like this: Thread longTask = new Thread (new ThreadStart(LongTask)); longTask.IsBackgroud = true; longTask.Start(); pleaseWaitForm = n...

In ASP.Net MVC, what is the best way to do an update from a dialog?

I'm trying to combine 2 parts of MVC that I haven't seen used together: 1) Ajax and 2) Error handling. The problem lies in what is returned and where (div element to update) that it's returned. I have an ASP.net MVC page that looks like the following <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Store>" %> <div id="MainPage...

Using jQuery UI's dialog("destroy") puts element in wrong place?

I have a big form with many parts. For each part, I want to add a small button "Popup as Dialog" which will convert that part to a dialog on-demand, and then (when closing the dialog) to return back to the form with the new inputs. I am using jQuery UI's dialog() function. The pop-up parts works fine - the sub-form converts into a dial...

[Android] Any painless way to trigger the soft keyboard for EditText in dialogs?

I am rendering an EditText as one element of a list-style AlertDialog (which is backed by the default ListView implementation). I sort of expected that this circumstance would not change the behavior of EditText, but it does: a click on the EditText does not spawn the soft keyboard anymore. After an hour of messing around with focus set...

How to call IsDialogMessage in a Modal Dialog

In my Win32 app, I had a modal dialog that displays settings that I had to add more settings to. In order to fit the new settings, I dropped a TabCtrl in the dialog and implemented two modeless dialogs. The UI is working switching between them but the modeless dialogs don't respond to the keyboard. In a regular app, IsDialogMessage (hW...

How to turn off the sound of alert(), or is there any good alternative in Jquery?

How to turn off the sound of alert(), or is there any good and simple alternative in Jquery? ...

multiple dialog box using jqueryui

I want to use multiple dialog boxes for display user profiles. i am selecting some featured users and link up with dialogs . please let me know how i can initialize them and link up the dialog ? if i initalize one like this $("#dialog").dialog({ bgiframe: true, autoOpen: false, width : 600, show: 'fade', ...