dialog

Using Multiple Forms in c#..

Hi, i'm trying to make a small project that uses multiple forms (dialogs) for different states and ran in a few problems. My dialogs are Login, Settings and Display. When application is started Login form is displayed Application.Run(new login()); from it the user can open Settings form or, if certain requirements are met, the Display...

JQuery | Dialog: Link disappears after click

Hello, when I open a dialog box onclick the link disappears. function flugzeitenAnzeigen(myUrl) { $('.' + myUrl).load('http://www.mydomain.com/Flugzeiten_Anzeigen.aspx?flugid=' + myUrl +'').dialog({ width: 510, modal: true, title: 'Ihre voraussichtlichen Flugdaten' }); }; <a href="#" id="GridView1_ctl04_flugzeitenAnzeigen" tit...

Displaying a custom dialog when the user exits the browser?

Yes, I realize this is horrible UI and bad accessibility wise, but I am forced to seek out the options due to contracted work ( to which I didn't initially agree upon and am stuck with ). I know that you can assign an event handler to onbeforeunload like: window.onbeforeunload = function() { return 'You have unsaved changes!'; } ...

Access native windows icons for custom wxDialogs

I want to subclass wx.Dialog to get a little more functionality than is provided by the wx.MessageDialog class but I would still like to be able to use the native windows icons (ie the ones used in the wx.MessageDialog that can be set by the flags such as wx.ICON_ERROR etc.. ) Is there anyway to access these? Update: Thanks to steven ...

How to make QDialogButtonBox NOT close its parent QDialog?

I have a QDialog with a QDialogButtonBox widget, and I've connected the button box's accepted signal to a slot in my QDialog subclass, like so: void MyDialog::on_buttonBox_accepted() { QString errorString = this->inputErrorString(); if (errorString.isEmpty()) { // Do work here // code code code... th...

Is it possible to inhibit the “Application quit unexpectedly dialog” on Mac OS X?

I have a testing setup which runs an Application on OS X with a varying set of parameters, if/when the program crashes it's relaunched and continues from where it left off. However when the Application crashes OS X raises the “Application quit unexpectedly” dialog, I'd rather avoid this as it clutters the machine. Is there a way to inhib...

jQuery Tools: How to close an overlay?

$("a[rel]").getOverlay().close(); $("a[rel]").close(); Both don't work. $(document).ready(function () { $("a[rel]").overlay({ mask: '#3B5872', effect: 'apple', onBeforeLoad: function () { var wrap = this.getOverlay().find(".contentWrap"); wrap.load(this.getTri...

dividing jqgrid dialog (form edit dialog) into two layouts

I have jqgrid that has 23 headers. It has edit dialog with a form too. The problem is from 23 headers, 2 headers are non-editable and the remaining is editable. When I click edit, it will show a long form (with one column) with 21 rows. Can I change the layout to a form with two columns and every column has half of my total rows? ...

Difficulty displaying alert dialog, why does this code force close my app?

I'm very new to Android so I've been working primarily with information from the android developer's page. Everything was going great until I added the code from the alert dialog section. The code they give alone gives me an error when I try to run it on the last line, saying I must initialize dialog, but I feel like I'm getting the Nu...

Modeless Child Dialog

I'm creating modeless child dialogs from a parent dialog class and i want to share the class data of its parent window with all child dialog classes I'll be creating. how would i go do that? ...

Custom Alert dialog not centered vertically on Android

I made a custom alert dialog box to be displayed at the end of my game so that the player can enter its name to save it. The problem is when I call show() on the dialog appears but it's not vertically centered! It's a bit lower than it should and no matter what properties I set in the xml or when using setGravity(). I think it's the sam...

android open dialogue activity without opening main activity behind it

Im writing a program that offers a quick reply dialog upon receipt of an SMS. However, I am getting an unexpected result. When I receieve an SMS, the appropriate dialog activity comes up displaying the correct phone number and message, however there is a second activity behind it that is the 'default' activity in my program (it is what ...

jquery how to get the button that has opened the dialog

Hello, I have a dialog that is opened by many buttons. How can I know which button has opened that dialog? $('#dialog').dialog({ autoOpen: false, buttons: { "Ok": function() { $(this).dialog("close"); }, "Cancel": function() { $(this).dialog("close"); } }, open: function(event, ui) { //HERE ::...

How to centralize Windows Exception dialogs in Delphi?

I'm trying to center all message dialogs, including any exception dialogs on the parent form rather than having them always appear in the center of the screen. I'm using Delphi 7 i note that using MessageDlgPos allows the params of X an Y to locate the dialog on screen, and thats fine for any messages i wish to display to the user. Bu...

Jquery closing dialog and removing div

Please help! I have designed a dashboard that uses gadgets. One of the gadgets creates a dialog but every time that the gadget is refreshed, it creates another dialog with the same id. This dialog contains a form, so there are issues with getting and submitting the value of my inputbox since there are identical id's on my page. What...

Multiple Jquery dialogs on page using same classes.

I have multiple places on my page where I want to open a jquery dialog boxes when a link is clicked. I am using class selectors so in theory I should be able to open each of them. My problem is that with the code I have it will only open the first dialog I click. Why is this??? //modal help div $('.dialogbox').dialog({ ...

Problem with Save As dialog in IE 7,8 in ASP.NET

hello all, i'm trying to write code that download a file that located on the server. but the save as dialog wont open in IE. i tried response.redirect, i tried Response.Clear(); Response.ContentType = "text/csv"; Response.AddHeader("Content-Disposition", "attachment; filename=" + fileNameDisplay); Response.WriteFile(Server.MapPa...

How to return the result of dialog window work in the moment of its closing?

Everyone knows the MessageBox.Show() method, that returns DialogResult value after dialog closed. How can I implement such a method in my dialog class? class MyDialog : Form { public static MyDialogResult Show() {}; } The problem, as you can guess, is that the method returns a value only after user clicks some button in the dialog. ...

jQuery UI Dialog, How to change text once the dialog is opened.

I'd like to click a button in a dialog and change the text on the message area before running the function associated with the button or simply change the text as part of the function. ...

JQuery: Dialog's current position after moving

Hello I got this little problem. I cant get the current position of JQuery after I move it. Seems like it wont update its position. It just gives the first one. Another problem I came up with was that the dragStop event wont work either.. ...