dialog

jQuery UI Dialog Error: b("<div></div>").addClass("ui-widget-overlay") is undefined

I have the below code for my a Dialog box for a which contains a dropdown field KPMS.ServiceRequests.Status = { showOptions : function(requestId, userId, requestType) { var url = BASE_URL+'service_requests/status_options/'; $("#dialog-modal").dialog("destroy"); $("#dialog-modal").load(url, {"request_id": requestId, "user_...

Prevent ProgressDialog from being dismissed when I click the search button (Android)

In a long-running operation, I'm showing a popup dialog (created from ProgressDialog to prevent other operations from happening). I have made it non-cancellable with setCancellable(false), so I can't close it using the back button, but surprisingly, the Search hardware button dismisses the dialog! More exactly, the global search applic...

Add newlines to a text resource in Android?

I have a custom Dialog that contains only a TextView to display some text in my application. The documentation lists that only the b, i, u, tt, big, small, sup, sub, and strike tags are supported. I really need to add some newlines for readability. Do I need to change to a more complicated layout, or is there some way to encode newlin...

IE7 is not positioning dialog properly on window resize

Like I said, IE7 (and IE6 but I don't really care IE6 that much) doesn't position dialog properly on window resize. When window is re sized, dialog goes down and down. IE8 FF Chrome Safari all work properly and position and re size dialog just fine but IE7 it re sizes the dialog but positions incorrectly. Anybody know some fix about this...

Android - Using PreferenceScreen to display and save settings to/from ContentProvider

I have my own custom Content Provider that loads a database which contains the settings information for my application. I load the settings from the ContentProvider on the creation of my Settings activity. My Settings activity is made up of a PreferenceScreen and Dialog based EditText's. The following code shows how I use the preferen...

How to add multiple buttons in Jquery UI dialog box?

I would like to have more than one button. I tried to copy code between brackets but doesnt work.Ideas? buttons: { "Close": function() { $(this).dialog("close"); } ...

How to correctly pop a modeless dialog from console using MFC

I need to create a console application that has a main() function and pop a modeless dialog, so the console can still work in parallel to the modeless dialog (do other work, like communicating with the modeless dialog). Whatever i tried, i could only pop a modal dialog. (where the console is in hold till the modal dialog close itself). ...

questions about jquery dialog plug-in

I am trying to customize a dialog window (without a theme). First, I want to display a custom "close X" button. Second, a user should be able to drag and resize the dialog. Finally, I would like to position the dialog in the top center of the window. However, I am having some problems and need some help. I have the following: <style> ...

How to "chain" modal dialogs in YUI 2 ?

I have a modal dialog box presented in Yahoo UI. The user selects a value from dialog "A", and then I want to present another modal dialog box to collect some more data in dialog "B". I have been using the YAHOO.widget.Dialog successfully. The problem seems to be that you can't initiate dialog window "B" from the handler function of dia...

Creating a "netbeans property" style dialog box

Hi I've been trying to create a GUI using netbeans, that includes a dialog similar to Netbean's own "property dialog" that appears when designing. ie. a dialog that contains a table that can be expanded by tree nodes. Something like the dialog on this page, http://platform.netbeans.org/tutorials/nbm-property-editors.html As far as I ca...

How to do loading dialogs in Android?

Those dark spinning progress dialogs in the Amazon and Engadget apps - are those standard in Android? ...

Video Capture API remove dialog when capturing from two cameras

Hi , I am trying to capture images from two cameras using avicap32.dll messages.I am able to capture images with the first camera but when the second camera start o capture it shows me the dialog "Select a video device".My application dosn't have interaction with the user so I need to select the second camera programatically. can anyone ...

Display issue with jQuery dialog: form shows as separate window

On my button click, the jQuery dialog appears with just the title and buttons. When you mouseover, then you see the form inputs in front of the dialog covering the buttons. When you scroll down, the form inputs do not move, so you can never see the last few textboxes. <div id="popupCreateCompany" title="Create a new company"> <form> ...

Is there an "are you sure" for stored procedure execution? :)

I have a stored procedure which is doing a lot of delete. Hundreds of thousands of records. It is not going to be runnable from the application, but still, i am concerned, that one of my clients accidentally runs it (i had problems earlier due to their "curiosity") :D Yes. there are backups and stuff like that, but I was thinking .... n...

Make dialogs compatible with "large fonts".

Which do you think are best practices for making a windows dialog compatible both with standard fonts (96 dpi) and "large fonts" setting (120 dpi) so that objects don't overlap or get cut off? BTW: Just in case it's relevant, I'm interested in doing this for Delphi dialogs. Thanks in advance! ...

Delphi overwrite existing file on save dialog

Hello everyone, I am using the TSaveDialog component to save a file from a button click. However, I am having trouble with saving on an existing file name. Generally, when you want to save over an existing file in Windows, a message box pops up asking you if you really want to overwrite the file. This is not the case with the TSaveDialo...

With Java Swing App, how to get values from a dialog panel into the main app ?

In my Swing app, users can click a button to open a dialog panel and enter some values, then they can click "Ok" on that panel to close it and return to the main program, but how can I pass the values they enter to the main program without saving them to a file first ? ...

How can I programatically add an item to this dialog?

When I insert an SD card, Windows XP/Vista/7 presents a dialog asking the user what they want to do with the contents. How can I add an item to this list for only certain types of data? (Like photos, music, etc.) ...

Why JavaScript dialogs (alert/prompt/confirm) are not widely used and not under active development?

If there is a need to display some simple confirmation popup, most developers would rather install jQuery, find some dialog plugin for it, skin it, than put a one liner: if(confirm("Are you sure?")) { ... } Using alert() for displaying error messages is considered cheap. And how many sites can you name that are usingprompt()? So, the...

Hiding the Command Console from a MFC dialog application

Hi, I have a MFC dialog based application in which I use ::system() function to physically open a text file. When I do it the command console also opens. How can I hide the command console so that it doesn't pop up when I'm opening the text file? Thank You!!! ...