dialog

In an Eclipse plugin, how can I make a DirectoryFieldEditor start with a particular path?

I am making an Eclipse plugin which on right clicking a project produces a UI. In this UI I have used DirectoryFieldEditor. This produces directory dialog starting at "MyComputer" as root. What i want is it to show paths starting at the project which i right clicked. how can this be achieved? I am trying to mimic when you right click a...

How to create a dialog using jquery

I am basically trying to achieve what this page has: When clicked on an image, it should pop out, make the back screen black, and have a close button. I've seen lot of sites with this. Does anyone know which jquery plugin could be used for this? ...

Is there a submit on "Enter" option in jquery diglog plugin?

Url is here: http://jqueryui.com/demos/dialog/#modal Suppose this dialog contains two buttons:"OK" and "NO", when "Enter" is pressed,I want the function binded with "OK" button to be called. How to do that? The dialog is something like this: <table cellpadding="0" border="0" width="100%"> <tr align="center"> <td align="...

Jeditable not working with Jquery Dialog content

Hello, I am dynamically loading content from another page onto a div(jquery dialog div) by $.ajax Now the content on the this dialog has to editable by jeditable.. however its not working at all.. I tried putting scripts on both the pages but it is simply not working.. however the script works on normal content but not on dynamic conte...

How to Minimize Child Dialog to task bar.

MFC Dialog Application: From Parent Dialog, launched the Child Dialog. In the child dialog property "Minimize" button is checked. If click the "Minimize" button the child dialog minimize to the left corner of the screen instead of "Task Bar" how to solve this??? ...

Button doesn't postback inside jQuery dialog inside UC

Hi,I am developing a user control and it has an asp.net button inside jQuery Dialog but when I press the button nothing happens I mean it doesn't call the button click event on the serverside, I have tried dlg.parent().appendTo(jQuery("form:first")); but it didnt help me too, is it possible to achive this inside asp.net UserControl ...

Jquery displaying confirmation dialog on form submit

Hello everyone. I need to display confirmation dialog on image click. Code in "onclick" section of image should be only executed if jquery confirmation dialog returned true. At this point when user clicks on $(".submit_image") - dialog is displayed, but form is still submitted. The logic should be the same for both jquery.alerts plugi...

how can i edit the action of the buttons in the dialog box in jquery?

this code is from the demo of modal confirmation from jquery's site. <script type="text/javascript"> $(function() { $("#dialog").dialog({ bgiframe: true, resizable: false, height:140, modal: true, overlay: { backgroundColor: '#000', opacity: 0.5 }, buttons: { 'Yes': function() { $(this).dialog('close'); },...

how can i make a dialog box from jquery show only after i hit a button?

this code is from the demo of modal confirmation from jquery's site. <script type="text/javascript"> $(function() { $("#dialog").dialog({ bgiframe: true, resizable: false, height:140, modal: true, overlay: { backgroundColor: '#000', opacity: 0.5 }, buttons: { 'Yes': function() { $(this).dialog('close'); },...

why does my jquery dialog box disappears after a few seconds ?

i have a form with a textarea and a button. if the button is clicked while the textarea is empty, the form will reload and generate an error message. otherwise, the form will redirect to another page. now, i integrated a jquery dialog box. when the button is clicked the dialog box should appear and ask a yes or no question. the problem i...

putting php codes on onclick event of a button

<input type="button" name="continue" id="continue" value="Continue" onclick="<? if($_POST['rules']==null) { echo "hello();"; } elseif($_POST['rules']!=null) { echo "myRedirect();"; } ?>" > i have a form with a textarea. when the user hits the button when the textarea is null it should d...

Display another modal dialog box on top of other modal dialog boxes in Java

Hi, I have a rather strange question: I have a Java application which uses "applications" (plugins) run in different threads. Most of these plugins will be written by other people and I will have no control over the code. The application requires a permanent connection to the Internet as information is constantly transferred between the...

Specific VB Excel Color Dialog

Hello, I've been looking for a very specific Color Dialog box in Excel the last couple hours, but all examples I've found aren't exactly the same. I'm looking for this Color Dialog box to incorporate into a form: http://yfrog.com/29colorboxj I'm not too familiar with Dialogs either... any advice is greatly appreciated! ...

dialog in jQuery

i have this dialog code // load dialog to user signup function new_user_signup() { $.get("/actions/_new_user_account.php", function(data){ $("#dialog").html(data); }); $("#dialog").dialog({ width: 400,resizable: false, position: 'top', draggable: false, title: 'Opret profil' }); } if i click on X icon in top -...

how to set background image in a dialog box in vc++6.0

how to set background image in a dialog box in vc++6.0 ...

Solid black screens when calling Dialogs in onCreate().

I've had this problem in a few different apps now and I can't seem to find a solution. If, in the onCreate() of an Activity, I start an activity that uses the dialog theme it doesn't draw anything to screen... the whole screen stays black. All the views are there (e.g., I can tap where an EditText should be and it'll give me the keyboar...

Looking for a .NET C# tip-of-the-day component

Putting aside the discussion of the merits of including a Tip of the Day in an application (a la Is Tip of the Day Good) I am seeking either a ready-to-go library or C# source code for a .NET tip-of-the-day dialog for an open-source project (so I am looking for an open-source component, of course). It is usually easy to locate a needed c...

jquery dialog button

Hi All, Can anyone tell em how can call a function with parameters on a dialog and call that same function from somwhere else also. function showEditDialog(TagDivId, id, type, bFlag) { try { stickyinfo = new Array(); jQuery('#'+TagDivId).dialog({ autoOpen: false, height : 535, width:320, modal...

MFC Dialog Size Question

Hi Good day. from my vc++ project. .rc file. IDD_My_DIALOG DIALOGEX 0, 0, 233, 273 STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME EXSTYLE WS_EX_OVERLAPPEDWINDOW | WS_EX_STATICEDGE | WS_EX_APPWINDOW CAPTION "AMEC FA Tool" FONT 8, "MS Shell Dlg", 0, 0, 0...

Best way of validating modal dialog fields?

I often need to have modal dialogs for editing properties or application configuration settings, but I'm never really happy about how to validate these, and present the validation results to the user. Choices and tools are typically:- Design UI so that invalid choices are simply impossible - i.e. use "mask edits", range limits on spin...