Most voted "dialog" questions
A dialog box is a floating window that contains a title bar and a content area. The dialog window can be moved, resized and closed with the x icon by default.
Learn more…67 questions
Sort by count of
-
14
votes1
answer697
viewsHow does the <dialog> tag work? Does it have a future?
Some time ago, reading some articles on HTML5, I learned about the existence of the tag <dialog>. I was curious to know how it works, because currently when it comes to dialogues (also known…
-
8
votes3
answers923
viewswindow.showModalDialog does not work on Google Chrome, is there anything equivalent?
Good morning, I’m trying to open a modal on google Chrome... The current application already uses window.showModalDialog for years, it works in IE... I can not make the changes using the html 5…
-
4
votes1
answer2601
viewsWhat is the difference between Show(), Showdialog() and Application.Run()?
I read something about modal but did not understand, someone could explain?
-
4
votes2
answers837
viewsAndroid Progressdialog does not appear
I am trying to show a Progressdialog in the process of downloading a binary file, however this does not appear, and I get no error either. I will briefly explain the way I have structured code In my…
-
3
votes1
answer90
viewsProblems with Message Dialog in the Key Down event
I put an event KeyDown in a field TextBox for when the user presses Enter, there must be some action. In this action, I’ve asked for a message to appear Dialog, but the problem is that if the user…
-
3
votes1
answer323
viewsSet maximum height for Alert Dialog
My dialog has a list, and when this list has many entries, the dialog cuts the buttons in the middle, as in the image : How do I set a maximum height not to get cut this way? Dialog code public void…
-
3
votes1
answer87
viewsDialog appears only after it has been called
Hello! In my application, I have a Button, that when clicked, opens the device’s camera so the user can take a photo: @Override public void onClick(View v) { //dialog da minha aplicação final…
-
3
votes1
answer1152
viewsHow to use a Spinner in a Alertdialog?
I’m in doubt how to put a spinner in a Alertdialog, I already have the codes ready, just need to insert the spinner. Array: <string-array name="categoria_array">…
-
3
votes1
answer177
viewsHow to remove a Custom Dialog title?
I have this Custom Dialog And I’d like to know how to take that part of the title because in this case, it’s unnecessary. Code private void acertou() { final Dialog certo = new Dialog(this);…
-
3
votes1
answer69
viewsError while adding Progressidialog
I’m having trouble adding a dialog in this listview method, there is another way to make it work? listDebitosPendentes.setOnItemClickListener(new AdapterView.OnItemClickListener() { dialog =…
-
3
votes1
answer866
viewsClose Dialog after 10 seconds open
I would like the dialog close after 10 seconds. I can only do it by clicking the button. Follows the code. AlertDialog.Builder alert = new AlertDialog.Builder(this); WebView wv = new WebView (this);…
-
2
votes1
answer388
viewsChange of theme of alertDialog as per Android version
I’m developing an app, which uses some alertDialogs at certain times. my question is the following, I would like to leave the theme of these Alerts according to the Android version of the smartphone…
-
2
votes1
answer474
viewsSearch does not work on Jquery Modal Screen
We have a search screen that works like this: There is a main screen. On it a button calls the search screen. This screen is loaded into a IFrame that is inside a Modal jquery-ui(Dialog). On this…
-
2
votes1
answer644
viewsHow to increase Alertdialog text size?
You can increase the font size of a message I display inside a AlertDialog? Code: AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this); builder.setMessage("Gasolina");…
-
2
votes2
answers1031
viewsHow to count down in a Messagebox
Use Delphi XE7, needed to put a countdown on a MessageBox, on the button Não. For example a 10 sec count next to the button caption Não (10) and so it decreases Não (9). My alternative is to create…
-
2
votes0
answers69
views<p:dialog> does not work
I’m following the example of the showcase but it doesn’t work. An icon was supposed to appear and after I clicked on this icon it opened the Dialog but when I open the page is already like this:…
-
2
votes2
answers515
viewsHow to open a Dialog on android
I wanted to know how to open a dialog so the user can insert text, as soon as he click the button, the box to type is opened and as soon as he type will have a save and cancel button, how can I do…
-
2
votes1
answer97
viewsComo exibr duas mensagens usando Messagedilalog do Windows phone 8.1
How do I print two messages using MessageDialog of Windows Phone 8.1? using System; using System.Collections.Generic; using System.IO; using System.Linq; using…
-
2
votes3
answers2520
viewsSearch for file with only part of its name in C#
I need to find a file automatically without opening a check box for the user to select the file. Where I already have the directory of the folder where this file will stay and I also know the part…
-
2
votes1
answer784
viewsCommandbutton - Error calling method
I’m beginner with JSF, web development, and I’m having a problem using the component Dialog, of PrimeFaces, within a DataTable. The idea was as follows: We have a list of gifts for a tea pot, the…
-
2
votes1
answer126
viewsProblems $Scope mdDialog Angularjs
Good morning guys! I’m having trouble passing an array to an Md-dialog. Clicking an edit button sends the array in $Scope via locals to the Md-dialog controller, so I can change the data and save…
-
2
votes0
answers113
viewsEdittext does not open the keyboard inside the listview
A listView within a dialog and put in front of each information one EditText, but when I click on EditText to change the information it puts the cursor inside the EditText, but does not open the…
-
1
votes1
answer559
viewsWhat would be an alternative to the "obsolete" showDialog function?
Explanation: I have a mobile application that uses the method showDialog() at a given time, to show a DatePickerDialog and get the date, but I see that on the following line:…
-
1
votes2
answers208
viewsUsing Dialog in a Fragment
I implemented the Dialog method but is giving error and I am not able to solve, I would like a help follows my class public class Iniciar_Host extends Fragment implements…
-
1
votes2
answers196
viewsDoubt with Dialog
I’m using Dialog to display a certain information in my APP, I wonder if it has any function for me to check if the dialog is already open to not open again. public void Dialogo_Iluminacao() { final…
-
1
votes2
answers7960
viewsHow to close an Activity(remove from Foreground)?
I have the following code in my Mainactivity class that has a Alertdialog and processing in the onClick method(): import android.app.Activity; import android.app.AlertDialog; import…
-
1
votes1
answer162
viewsPHP-Mysql-Dialog
I’m making a page, where I have a mysql database connecting with PHP. What I wanted is this, I have a form with: pais(combo); nome(text);empresa(text), and I want you to: When you fail to complete…
-
1
votes1
answer203
viewsHow to open a Dialog without darkening the Android background screen
I have an Activity, and in this one I call a Dialog, but when I open this 'popup' the background Activity screen that called it darkens, but I wish that didn’t happen. You can do it?
-
1
votes1
answer94
views -
1
votes1
answer32
viewsHow to use newFragment.show()?
I’m having trouble displaying a calendar after clicking on a button. Does not recognize the newFragment.show(); public void secionarData(View view) { DialogFragment dialogo = new…
-
1
votes2
answers2639
viewsconfirmDialog does not work
I have a delete button inside my dataTable, but every time I click on it confirmDialog does not appear. I am doing as follows: <p:column style="width: 100px; text-align: center"> <p:button…
-
1
votes2
answers1591
viewsReceive file lines, and treat them (BASH)
I need a bash script that will read a file, recognize the delimiter (in case ";") and store the values that are in the delimiters in variables, to later mount a menu with the dialog... What I’ve…
-
1
votes1
answer28
viewsFiledialog problem in QML
I’m trying to use the component FileDialog in the QML I made exactly the same code that is in the Qt documentation on the link http://doc.qt.io/qt-5/qml-qtquick-dialogs-filedialog.html and this code…
-
1
votes1
answer49
viewshow to implement jsPanel with jsf
I am trying to render a xhtml page inside jsPanel, but only return the empty jsPanel. this is javascript: function executeLoad(aUrl){ $.jsPanel({ load:{ url: aUrl }, selector: "#content", title:…
-
1
votes1
answer920
viewsChange Size Dialogfragment according to Android screen
I have a very simple registration form that appears when you click a sign up button. This form appears in a DialogFragment, however, with a very small size. Zoning on the internet I found a code…
-
1
votes0
answers44
viewsProccess Dialog does not open Asynctask
During an API interaction that lasts on average 5 seconds, I need to place a Process Dialog. My code: public class finalizaPedido extends AsyncTask<Object, Void, Integer> { private String…
-
1
votes1
answer51
viewsdialog with problem when using --item-help
I am facing problems when implementing a checkbox with dialog, on Linux Mint. What happens is that I use the option --item-help, the box box mount the checkbox wrong. dialog --title 'Seleção dos…
-
1
votes1
answer77
viewsHow to return to Activity and execute a method?
have the Activity Profile.class and it displays my photos, when clicking on it, opens a fragmentDialog displaying the photo in slideshow... but when deleting the photo, need q back to my profile and…
-
1
votes1
answer88
viewsClose Dialog opened inside the Recyclerview Adapter
I made a headline for my RecyclerView which, when clicked, opens a dialog. Some time later, started to give this error: Activity com.mypkg.myP has leaked window…
-
1
votes0
answers21
viewsDatatable page two deletes List
I’m using Primefaces 6.2 with Hibernate 4.3 without JPA or Spring. I need to show data on the screen, where I have a Dialog and inside it a Datatable with a button that will open another Dialog. I…
-
1
votes1
answer161
viewsDialog progress bar (Shell Script)
I would like to create a progress bar for my backup script. The problem is that the rsync command (which is inside the loop) generates duplicate (unnecessary) lines that increase the size of the log…
-
1
votes1
answer41
viewsUse the command xargs as input from a file to popular Xdialog --radiolist
The question here is very simple! Here is a variable: arquivo="\"Item 1\" 'A' off \"Item 2\" 'B' off \"Item 3\" 'C' off \"Item 4\" 'D' off \"Item 5\" 'E' off \"Item 6\" 'F' off" Note that the length…
-
0
votes1
answer2589
viewsHow to open a dialog by passing an object as a parameter in the primefaces?
Good night. I’m having trouble opening a dialog by passing an object as parameter. Someone knows how to fix this?
-
0
votes1
answer45
viewsInputdialog vertically
My problem is that I want to create a graphical interface with input fields vertically, but I can only create horizontally. Code: JTextField mapField = new JTextField(5); JTextField tamField = new…
-
0
votes1
answer69
viewsHow to kill all dialogs on the screen at once?
I do a check and play 3 dialogs on the screen, but if the user cancels one of them, they should all close. Does anyone know how to do this? I don’t even know if it’s possible. I thank you in…
-
0
votes2
answers526
viewsHow to do dialog with listview inside?
I would like to know how to create a Dialog containing a ListView following the example of the image below.…
-
0
votes1
answer117
viewsp:dialog being called by several Buttons in the system
Personal I have a dialog (do primefaces) confirming the ZIP Code number and after the user has entered the residence number in this dialog the fields address, neighborhood, zip code, city and Uf…
-
0
votes0
answers122
viewsUpdate a Switch from a Dialog
I have a dialog like this: public void Dialogo_Iluminacao() { final Dialog dialog = new Dialog(this); dialog.setContentView(R.layout.dialogo_iluminacao); dialog.setTitle("Iluminação"); final Switch…
-
0
votes0
answers141
viewsPersian sketchware dialogo
I would like to know how I can create a custom dialogue? Would someone help me? I’ve tried many more codes are not working.
-
0
votes1
answer291
viewsCreate listview with database data and put an Edittext in front of each information
I need to create a listview inside a dialog, using the data of the Sqlite database, but in each of the data that will load has to have an Edittext in front, for example. Product Quantity Adubo…