dialog

JQuery- ui dialog return value & iplocation data retrieval

Basically, I referred to some sources, and found this: "Yah, that's easy, just create a div on your page, put the form in there, and make that your dialog." Well that's great, but what if you're trying to achieve maximum compatibility? What happens if for whatever reason a user has JavaScript disabled in their browser? Suddenly that e...

jQueryUI Dialog positioning after vertical scrolling

Hi, I have the following jqueryui dialog: $("#dialog").dialog({ bgiframe: true, autoOpen: false, height: 420, hide: 'slide', modal: true, buttons: { 'Annuler': function() { $(this).dialog('close'); }, 'Envoyer votr...

Android - setResultData(null) doesn't properly block call on hero?

Following on from my Question Here i have found what the problem is but cant seem to fix it. What appears to be happening is that my Application launches, the user can then press a button to start a background service and the Activity disappears. The user then makes a call and from here my applications dialog screen appears. In the int...

jQuery Tabs - Test if loaded

I have a jQuery dialog that is displayed on postback load. The problem however is that the dialog appears before the selected tab is set behind it, so the wrong tab is shown until the dialog is closed.. Is there a way to test and wait until the tabs are finished setting up before invoking the dialog? ...

jQuery dialog scripts for input val

Hi, I have a bit of a problem with a jQuery dialog and the way scripts are handled. In the dialog html, I have <input id="test"> If I do <script type="text/javascript> $('#test').val("haha") </script> after the input, it shows up. If I put it before, it doesn't work. Now the problem is I'm trying to change the value of $('#te...

Launch an Android dialog box from a View

I have an Android Activity that uses a class that I developed that extends a View (let's call it FooView). I'd like to launch a dialog box when a particular event happens in FooView. It seems from all I've read that the dialog box must be launched from the Activity class using showDialog(). I can't seem to find any example showing how...

Add registration dialog to PackageMaker

I'm currently in the process of writing a Mac PackageMaker-based installer for an application that I had previously distributed for Windows using an NSIS installer. In NSIS, I was able to create a customized dialog that allowed the user to enter their serial number and license key before being allowed to install the program. In Package...

Qt, non-modal dialog doesn't close itself

I have one main Window and one non-modal Dialog. I suppose non-modal dialog should close itself when I close main window. Instead if I open non-modal dialog, I should close manually both of them - if I close main window, non-modal dialog will remain, and I need to close it manually. # App and main window app = QtGui.QApplication(sys.arg...

Change the contents of an Android dialog box after creation

Is there a simple way to change the contents of a dialog box in Android without having to re-create the dialog box? I know that Activity.onCreateDialog() is only called once when the dialog first needs to be created, and this is where you initially set the dialog's contents. I need to change the dialog's contents later, so I'm wonderin...

In Wix, how would you create a dialog to choose the name of a subfolder of the main application directory?

Hello, I am developing a MSI installer by using WIX. The main program installs to [APPLICATIONFOLDER]. I use the InstallDirDlg to set the directory of this without any issues. I'd like to display a custom dialogue based on the InstallDirDlg to specify a directory to install a particular component. I'd like to set the default direct...

jQuery: problem with dialog height under IE

hi all, i'm experiencing problems with the jQuery dialog under IE8: i'm first initializing the dialog, then change its height through the options: div.dialog("option",{"height":y}); under firefox, anything is nice, but under IE the box is missing some height (about 50px), so i'm getting ugly vertical scrollbars. any ideas what cou...

Is it possible to dynamically generate decent looking properties dialogs?

I have an application which displays properties dialogs for various GUI-accessible objects. Because there are a huge number of different kinds objects, there are also a huge number of different properties dialogs. Because we are lazy, we didn't want to hand-build each and every properties dialog; additionally, plugins might introduce new...

How to disable error message in file dialog?

Suppose I have a Win32 C++ application that displays a save file dialog. Also suppose that I browse to C:\Windows (or some other protected location) and type a file name. Then suppose I hit save. What happens is I get a message saying I don't have permission to save there and would I like to save to My Documents instead. So here is the ...

How to disable error message in file dialog?

Suppose I have a Win32 C++ application that displays a save file dialog. Also suppose that I browse to C:\Windows (or some other protected location) and type a file name. Then suppose I hit save. What happens is I get a message saying I don't have permission to save there and would I like to save to My Documents instead. So here is the ...

Android: Force dialog themed activity to be modal

A button on our screen causes an activity to be shown that has a "dialog" theme. We are having an issue were if you click the button quickly twice in a row, the dialog activity is opened twice. Typically I would expect that when a new activity is started, the underlying activity is immediately stopped, and thus accepts no further input...

making a dialog hidden

All, How is that a dialog is hidden and brought up on mouseover event and onmouseout event (ex:like media player controls) link <div class="bar" style="padding:0px;" id="bar"></div> <script> bar = $(".bar", "#view").dialog({ height: 30, width: '100%', textAlign : "justify", margi...

How do I create a dialog in javascript?

Hello, The goal is to create a similar to the flag dialog at stackoverflow that shows on clicking the 'flag' button located under a question,but since I'm new to web development I don't understand certain things. This is what I have: This is the markup for the button: <a id="flag-post-2239985" title="flag this post for serious probl...

refresh an image inside a jquery dialog box

I have a jquery dialog box that opens by means of a link. I would like it so that everytime I open the dialog box the image is refreshed. I tried something like this: function open_dialog() { $("#imageThumbBox").dialog('destroy'); $("#imageThumbBox").dialog({ autoOpen: false, closeOnEscape: true, resizable: true, h...

Android How to show dialog to confirm user wishes to exit Activity

I've been trying to show a "Do you want to exit?", type dialog when user attempts to exit an activity. However can't find the appropriate API hooks. Activity.onUserLeaveHint() initially looked promising, but I can't find a way to stop the activity finishing. Thanks ...

how to getSharedPreferences in dialog?

dear friends, i want to read file in dialog can any one guide me how to achieve this? when i use SharedPreferences preferences = getSharedPreferences(PREF_FILE_NAME, MODE_PRIVATE); in dialog it gives me error "method is undefined" ...