dialog

Getting Dialog Data on Ajax Load

Hey All Not quite sure how to do the following and hope you can advise. I have a dialog which opens up a page through ajax. I would like to somehow once this dialog has finished loading trigger an event which then will perform some other action. Can anyone advise on how to do such a task. Hope you can help. Lee ...

WPF show dialog at startup

I have a flag if set I would like a connection Dialog window to showup on startup. In App.xaml.cs in the Application_Startup event handler I have the code to show the window. What is happening is the splash screen shows (a png set to splash screen), the dialog pops up for a second then closes and the main WPF window displays. I would ...

jQuery how to close dialog from iframe within dialog?

If I open a dialog like so: $('<iframe id="externalSite" class="externalSite" src="http://www.example.com" />').dialog({ autoOpen: true, width: 800, height: 500, modal: true, resizable: true }) How can I close the dialog from withing the iframe? ...

MFC App loading dialog from another DLL

Hi! We have a very big MFC application that have 16 projects in the solution. Each project is a DLL. Four(4) of these projects are what we call "Network". In each network, there is a dialog that we will call X. This dialog is VERY different in each of the network but the name of the dialog itself is the same in each of the resource.h. I...

Android: How to create a Dialog with a Scrolling title?

Ok so I've read the Custom Dialog explanation on the And Dev website http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog It show's you how to make a custom dialog, but not how to customise the title! Basically my title is too long and I want it to scroll (like textview) or better still have a 'marquee' effect i think...

ListView Activity & Dialog

Hi, I've a listView Activity where user could open a dialog to display more information about a line of the list. On the Dialog user could modify a line. So my purpose is to refresh listView when User modify it by the Dialog. The problem is that I couldn't use myArrayAdapter.notifyDataSetChanges() so How I could do that ? ...

.Net 3.5 Winforms Basic Dialog with Label Autosize for custom text contents

I want a form containing: +----------------------------------------+ | Dialog Title X| +----------------------------------------+ +----------------------------------------+ |icon | | |32x32px| One-line label (Heading) | | +--------------------------------+ | | ...

How to pass data from a QDialog?

In Qt, what is the most elegant way to pass data from a QDialog subclass to the component that started the dialog in the cases where you need to pass down something more complex than a boolean or an integer return code? I'm thinking emit a custom signal from the accept() slot but is there something else? ...

Simple & small, pure javascript lightbox (dialog overlay) ?

Hello, Does anyone know of a small, limited functionality lightbox built with pure javascript? This is for an embeddable widget, thus the reason of not using jquery. All I really need is creating an overlay for a specific div or simply by passing some HTML. ...

Choose File Dialog

Can someone write me a complete choose file dialog? Maybe one where you can filter out all files except for ones with specific extensions? The internet needs such an example. I have not found anything lightweight enough to implement easily into on of my projects. The only other options seem to being using OI FileManger's open intents, bu...

How to show a WebView with Theme.Dialog style in Android

I declared a WebView activity in the manifest like this: <activity android:name=".MyWebView" android:label="@string/app_name" android:configChanges="orientation|keyboardHidden" android:theme="@android:style/Theme.Dialog"> </activity> The WebView looks like this: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:...

Android: Progress Dialog Doesn't Show

I have some data I load into the database the first time a user enters my Activity, and want to show a ProgressDialog while this data is loaded for the first time. My Activity is an ExpandableListActivity and I don't create the SimpleExpandableListAdapter or call setListAdapter passing my adapter until I'm sure the data is actually there...

Block entire swing ui except for one component - "dialog style"

[This question is in relation to this question] Setting: I have this home-crafted "editable label" component which looks like a label, but when you click it, it turns into an editable field, allowing you to edit it. You can hit Esc to cancel, or Shift-Enter to OK your edits - or click the respective buttons beneath the editable field. ...

"Whiteout" entire swing GUI except from one component

[This question is in relation to this question] Setting: I have this home-crafted "editable label" component which looks like a label, but when you click it, it turns into an editable field, allowing you to edit it. You can hit Esc to cancel, or Shift-Enter to OK your edits - or click the respective buttons beneath the editable field. ...

AppleScript GUI elements besides dialog

I was wondering if there is a way in AppleScript to create a small Applet of sorts, without having to use a bunch of dialogs, and I think it would be nicer in the end. Here is the script I have currently, courtesy of AppleScript Wikia set x1 to text returned of (display dialog "What is X1?" default answer "") set y1 to text returned of...

Is it possible to avoid static or global variables in dialog functions

If one needs some sort of state in a dialog function, it seems you need some sort of static variable. For example, the hook procedure for GetOpenFileName provides the dialog function with the address of the OPENFILENAME structure on its WM_INITDIALOG call but not on any subsequent calls and the OPENFILENAME structure contains a place fo...

Center align plain text (php)

I have been asked to come up with a solution which would allow our users to create their own custom javascript dialog text. However we need it to be centered. At the moment, we have a textarea, which the user pads using spaces and tests with a preview button. I would like to change this to allow for the text to be center aligned automat...

Show version info only once on application start in Android App

I´d like to show a simple information dialog with an Ok-Button, about whats new in this version, but it should show only at the first start. Whats the best way to implement this ? ...

Android Development: Dialog Box With EditText and Spinner

I have a button that pops up with a dialog box on click. I want the dialog box to have an EditText and a Spinner inside the dialog box. I don't know how I'd set the view for it, I have the code for an AlertDialog and it works, it's just the EditText and Spinner that I need to place inside it then I can get on with the rest of the app's...

WPF button with Focusable=False does not refresh if covered over by dialog opened in click event handler

I've noticed an odd behavior with WPF where a button that has the Focusable property set to false will fail to refresh its visual state if the button is occluded by a popup (ex: a file dialog). On to the good stuff, here is a minimal code example: XAML <Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/wi...