dialog

Android Broadcast Receiver showing a dialog?

I've got an app that responds to an Alert - and I really need to show an alert with a password entry before going on to the next screen; the trouble is I don't seem to be able to show a dialog from a broadcast receiver -- so how can I show a dialog password entry upon receiving an alert? ...

jQuery UI dialog open caues input to lose focus in IE8

I have a set of text inputs and I would like to open a dialog when one gains focus, and closes the dialog when the input loses focus. This all seems straightforward and works fine in Chrome, but has problems in IE, as opening the dialog causes the text input to lose focus, which immediately closes the dialog again. The dialog doesn't c...

How to open two dialog boxes at once in C++ MFC?

Hi, Is it possible to open more dialog boxes at the same time in C++ MFC, when I press a button? How? (One for background: full-screen and semi-transparent, and one for a dialog box.) Thank you! ...

C++ MFC: How to open immediately a secondary dialog after the first modal dialog was created.

Hi, how can I open a secondary modal dialog in C++ MFC from a dialog without pressing any button? (If I create a dialog in OnInitDialog(), the first dialog won't appear.) ...

show pop-up from background service in android

Hi it is possible in android to show pop-up dialog from background running service? and answer is positive than how can i do that Thnaks. ...

How can I add a static method to a QInputDialog for returning custom data?

QString QInputDialog::getText ( QWidget * parent, const QString & title, const QString & label, QLineEdit::EchoMode mode = QLineEdit::Normal, const QString & text = QString(), bool * ok = 0, Qt::WindowFlags flags = 0 ) [static] This function is defined to call a dialog get and return the text which will be inserted in ...

jquery ui multiple dialogs

I couln't find any working example so i am trying my luck. i have a list of pages that i want to edit them via a jquery ui dialog. I already have every edit link with it's own id -- but i have no idea how to tell this jquery line $('#open_edit_by').click(function() { to open a window by id. (if i use php - it will work just for one). i k...

How to create a completely custom Dialogue/Popup in Android (change overlay colour and dialogue window layout)

I would like to completely re-skin the default dialogue component in Android. Specifically I would like to do this: Change the semi-transparent overlay background from the default black to a semi-transparent white. Change the Dialogue window by removing the default windowed frame border, and replacing it with a layout defined in XML (...

jquery ui dialogs and loading external content.

I have a list of pages that are dynamically generated with a echo statment. example: <a href="<?php echo $action['href']; ?>"><span onclick="jQuery('#category_edit_dialog').dialog('open'); return false"><?php echo $action['text']; ?></a> this is the code for making the jquery ui dialog window: $.ui.dialog.defaults.bgiframe = true; ...

sexy-combobox plugin not working inside of jquery dialog

I'm attempting to use this plugin, which turns a select list into a combo box where the user can type their selection in, in addition to the select list functionality. http://vladimir-k.blogspot.com/2009/02/sexy-combo-jquery-plugin.html The issue I'm having, is when the select list is inside of a jquery dialog, it no longer has the dro...

Create prompt input dialog with dropdown box in javascript?

Does anyone know how can I create a prompt input dialog with dropdown box in javascript? Example: ...

Call Dialog Methods form a static Class in C#

I have to catch an event from a parent dialog that uses a method from a static class to update an array. From this dialog I call a child dialog that shows the array in a list. I know with a variable if the current dialog is the child or the parent dialog, but from the method in the static class how can I call the method inside the chil...

Redirect jquery ui dialog on close.

I tried different ways to do this but i cant get it work. this is the code: $.ui.dialog.defaults.bgiframe = true; $(function() { $("#category_edit_dialog").dialog({ width: 960, hide: 'slide', position: 'top', show: 'slide', close: function(event, ui) { redirect here? how? } }); });...

How to use custom a facebook dialog, like this example

How i can create a custom dialog like this: I'm using iframe application with graph api/new js-api, but i cant figureout a way to reproduce this, the buttons and the title, keep the user languague. regards. ...

Least code to create modals in jQuery dynamically based on rows in an HTML table

I've got an HTML table with columns that hold a few words of a comment that when clicked should show a modal dialogue with the full contents of the comment (stored in a DIV on the page). I was going to do this with a jQuery dialog, but can't decide if it's more efficient to put onclick handlers (with this.next.show..) on each cell or to...

Android MailDialog too long to display

Hi, I have a listView on my app which is compose by one ImageView and one Text. When user clic on text, another activity appear. When User clic On ImageView, I display a MailDialog. My problem : I try my app on 2 differents devices. One is LG GW620 (Android os 1.5), and the other is nexus one (Android os 2.1) When I'm on the LG, the M...

how to add the server response message inside jquery dialog?

When I am adding data to the server it send me a response saying data is added whereas in case of data already exist in server i receive a message saying this data with name and description exist in the server.... how can I show my server response text ? edit: solved $.ajax({ url: "/#", type: "POST",...

jQuery reset dialog on cancel and close before form posting

I have code that opens a dialog, validates, and posts a form when the validation is successful. If the user clicks "Cancel," the dialog should reset until the next time it's called. If the user clicks "OK," the dialog should close and the form should post, so if I hit the back button the dialog doesn't appear on the page. Code is as f...

Starting an Android activity as a dialog without using a theme modifier

I want to start an activity as a dialog, which can be simply done by: <activity android:theme="@android:style/Theme.Dialog"> But I want to do control the dialog, so I've to do it programmatically. Basically I want to modify this property of dialog: mCanceledOnTouchOutside = true This will make the dialog cancel itself when touched ...

Use dialog to select a folder path?

I want to list files of folder. So, I just want to get the folder path. Is there a way to using a dialog window to get the folder path? ...