Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
258 views

I use the dialog to confirm user actions: TDialogService.MessageDialog('Question?', System.UITypes.TMsgDlgType.mtInformation, [System.UITypes.TMsgDlgBtn.mbYes, System.UITypes.TMsgDlgBtn.mbNo], System....
HardLink's user avatar
0 votes
1 answer
438 views

I have the following code in Delphi FMX on Android: TDialogService.MessageDialog('Test Close message', TMsgDlgType.mtInformation, [TMsgDlgBtn.mbOK], TMsgDlgBtn.mbOK, 0, nil); I need ...
Alisson Cristhian's user avatar
4 votes
1 answer
806 views

I'm trying to show an QML MessageDialog with Qt 6.4.3. This dialog should be closed with the provided button. import QtQuick import QtQuick.Controls import QtQuick.Dialogs ApplicationWindow { id:...
Jürgen Lutz's user avatar
0 votes
1 answer
178 views

I need to create a toast message dialog in my app, basically i have a TableView and within it i have a TableViewCell. I need that when the user press the cell to go to the DetailViewController the ...
Mateo Valencia Minota's user avatar
0 votes
1 answer
92 views

I used the following code to set up and test the startup, but when I reset the computer, my project is displayed below, and even my Message-Dialog is not displayed [Article Source : Configure your app ...
Mahdi's user avatar
  • 33
0 votes
1 answer
581 views

This is my java method: public static boolean addEmployee(Employee employee) { String sql = "SELECT addemployee(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);"; try (Connection ...
Hleb Shypula's user avatar
0 votes
1 answer
138 views

how to use pango markup in messagedialog text using variable For example this code void usb_boot::creation(){ //Gtk::MessageDialog dialogue(*this, listeDeroulante.get_active_text()); std::string ...
kramer's user avatar
  • 337
2 votes
1 answer
95 views

I want to display 5 different comments when a button (Answer Btn) is clicked. Here we can see the JOption message dialog showing "Correct" comment. When I click the Answer button again, I ...
WiloWisk's user avatar
  • 137
2 votes
3 answers
298 views

I've been trying to create a program in Java that asks a question and then depending on the users's input displays one of the dialogs. For some reason, when I click the correct option, it gives me the ...
etaaaaaaa's user avatar
1 vote
1 answer
372 views

First of all, thank you for taking the time to help me! I am trying to print a couple of sentences on a message dialog with using string formatting. When I use the string format and print it on the ...
Mark Santos's user avatar
0 votes
2 answers
2k views

I am trying to display a string with tabulator characters inside of a MessageDlg. The tabs inside the string are not recognized and displayed properly. I'm pretty certain it has to do with the ...
Janrich Cronje's user avatar
1 vote
2 answers
2k views

I am trying to create showMessageDialog that will have ONLY ONE button (i.e. OK). I want that button to be un-focused. That means when the dialog opens, is user clicks on Enter key, the dialog should ...
SK.'s user avatar
  • 1,510
1 vote
2 answers
5k views

I have a message box dialog which comes with yes no like following. I have added no button as default selected button in the code. I want to do this by checking an if condition. Based on the if ...
CWW's user avatar
  • 65
-2 votes
1 answer
318 views

I'm using if else and writing down some codes suddenly happens the else said the branch is never used... but it should work. The statement looks like this JOptionPane.showConfirmDialog(null,...
jasperian palma's user avatar
-1 votes
2 answers
568 views

I have a MessageDialog with just a single button in my App.xaml.cs I wish to use it from other pages. Several approaches seem to work but as there are subtleties with async and Tasks is a particular ...
Damien Stone's user avatar
0 votes
1 answer
744 views

I have the code below: if (jumlahiddb < jumlahbuku) { DownloadBukuKomik(url); string KomikUpdate = @"INSERT INTO books (id,title,folder_id,identifier) SELECT " + intID + ",'" + ...
Rose's user avatar
  • 611
1 vote
1 answer
41 views

I set 2 Jmenu items, one is "New game", another is "About the game". However, when I run the program and press "New game" , the dialog of "About the game" was shown, so how can I solve this problem? ...
tom's user avatar
  • 13
1 vote
1 answer
1k views

I am new in WPF C#. I want to use a MessageDialog, but I can't instantiate it because I can't find its namespace reference. Please note that I can use a MessageBox. I take a screenshot here: What ...
shogitai's user avatar
  • 1,981
0 votes
0 answers
926 views

I am using QT5.7.1, and the UI is defined using QML. Our application is used to control an instrument and is running in kiosk mode. I am trying to use MessageDialog element to notify the operator ...
Daniel Labonté's user avatar
0 votes
1 answer
283 views

I am trying to display a Message Dialog in C++ (winrt) from a Desktop Windows App targeting Win 10 x64. The following code executes but the dialog is not shown. Return code from ShowAsync is good ...
A Murray's user avatar
  • 421
2 votes
0 answers
1k views

i am using this command, which should switch my layout to RTL but the message dialog is still LTR: self.SetLayoutDirection(wx.Layout_RightToLeft) message dialog: FinishMessage=wx.MessageDialog(...
delex's user avatar
  • 211
1 vote
1 answer
107 views

I’m currently learning C++/CX, with Windows Universal App, and I want to show a caught exception message in a MessageDialog, however, C++/CX works in a way that I don’t understand, in that I can't ...
jAndersen's user avatar
  • 125
1 vote
0 answers
163 views

Can I use ShareOpenGraphContent for MessageDialog? When I create a ShareOpenGraphContent complete with its ShareOpenGraphAction and ShareOpenGraphObject and post it using ShareDialog.show() it works. ...
zbrtcchr's user avatar
3 votes
0 answers
523 views

I am really wasting time on trying to figure out what might be wrong. I have a button(not fb send button) and on click i want to open messenger(or with any other way) to send a message to users. This ...
Stamatis Stiliats's user avatar
-2 votes
1 answer
315 views

Please help me validate (make sure) all four of my JOptionPane text fields are filled with some information before adding information to the tableModel. If some of the fields are empty, warning ...
Eifel's user avatar
  • 53
0 votes
1 answer
1k views

Can you explain how I can get used colors of the TDialogService.MessageDialog window? Update: Which created using this command: TDialogService.MessageDialog('Test3: Confirmation', MsgDlgType....
Alex Egorov's user avatar
0 votes
1 answer
299 views

I am developping a kiosk app for people come from diffrent countries, UI language should be changed at runtime. ApplicationLanguages.PrimaryLanguageOverride can change the text and font shown in ...
李英杰's user avatar
1 vote
1 answer
3k views

I have problem using FMX.Platform.IFMXDialogServiceAsync This is my procedure: procedure TFormMain.btnLogoutClick(Sender: TObject); var ASyncService : IFMXDialogServiceASync; begin ...
Eldi Munggaran's user avatar
2 votes
1 answer
1k views

I'm using the DisplayAlert() method in Xamarin.Forms. Internally it uses MessageDialog. How can I change the style of the ok and cancel button on different events like PointerOver, Pressed, and so ...
testing's user avatar
  • 20.3k
4 votes
1 answer
495 views

I have implemented the routine to send a link + content to facebook messenger via its MessageDialog API. I have managed to get the link content to appear on the message dialog, but the send button is ...
Abílio Esteves's user avatar
0 votes
2 answers
1k views

He is my code: import java.util.Scanner; import javax.swing.JOptionPane; public class TicketNumber { public static void main(String[] args) { Scanner ...
Jinny Thanh's user avatar
0 votes
1 answer
938 views

I am currently developing a program for blind people. In my program, I have several dialogs which are implemented using SWT MessageDialog or MessageBox. This works just fine for sighted people or ...
APex's user avatar
  • 29
0 votes
0 answers
156 views

I want to ask for confirmation if the user wants to leave the page when the Back button (hardware or AppViewBackButton) is pressed using the following code in my App.xaml.cs protected override void ...
PutraKg's user avatar
  • 2,256
0 votes
1 answer
54 views

First off the code, which runs without error but isn't covering everything I need it to: public async Task SaveData() { // MessageDialog restartMessage; // ^^ This was made global and is ...
TS-'s user avatar
  • 376
0 votes
1 answer
96 views

The ShowAsync() method for MessageDialog is sporadically failing. It's pretty much a coin flip as to whether it works or not: private async Task CloseApp() { MessageDialog restartMessage = new ...
TS-'s user avatar
  • 376
1 vote
1 answer
1k views

I want to make specified message dialog in c# windows phone 8.1 but i don't know how to change the button text Please help me! I used this code : MessageItem kiirat = DataHandler....
Tankos's user avatar
  • 201
0 votes
1 answer
147 views

I am working on some software for the company that I work for. I am using wx for the GUI. I basically have this: When the program is busy or loading, I create a wx.BusyInfo object. But, sometimes, ...
Erik343's user avatar
  • 343
1 vote
1 answer
165 views

I need to wait the result of a MessageDialog when my UWP application starts, during the splash screen. So, I put this MessageDialog inside the MainPage constructor: private async Task ...
Nick's user avatar
  • 10.6k
0 votes
1 answer
115 views

Following examples here in Stack Overflow, I put together a MessageDialog to show my user error messages. In the emulator, it works fine. On the phone, it blows right through, flashes the ...
LionelGoulet's user avatar
0 votes
0 answers
146 views

using Windows.UI.Popups { ... uninteresting ...} var _dialog = new MessageDialog("...","..."); Error: The type or namespace name "MessageDialog" could not be found
Best_Where_Gives's user avatar
1 vote
1 answer
383 views

I develop an Universal App that uses MVVM-Light. I call WebServices from the ViewModels, and I throw the exceptions encountered by the calls at the WebServices to the ViewModels: TimeOut, Wrong URL, ...
Gold.strike's user avatar
  • 1,297
1 vote
1 answer
642 views

How do I made that after clicking on PrimaryButtonClick my ContentDialog don't close? private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { }
goodniko's user avatar
  • 163
0 votes
1 answer
761 views

I develop an Universal App that need several custom exceptions to catch errors encountered when calling webservices: NoInternetAccessException, NoJSONException, UserTimeoutException, ... Here is an ...
Gold.strike's user avatar
  • 1,297
0 votes
1 answer
251 views

I'm using Python and wxPython to interact between my user and an USB device. The USB device is somewhat slow in processing commands. Therefor, after sending the command, I'm showing a dialog notifying ...
codesoep's user avatar
1 vote
1 answer
456 views

await new Windows.UI.Popups.MessageDialog("Test").ShowAsync(); Has anyone else noticed this? Is there an easy work around ?
punkouter's user avatar
  • 5,386
0 votes
1 answer
71 views

I am using MessageDialog box for popup.but in this it shows only particular meaasge.I want to okcancel buttons with this popup.how to get these buttons.please any one help me.Thanks in advance.
Bhargavi Reddy's user avatar
3 votes
1 answer
1k views

I have a message dialog as follows: import org.eclipse.jface.dialogs.MessageDialog public void openQuestion(Shell parentShell, String title, String question, final int iconStyle){ MessageDialog ...
Sri's user avatar
  • 699
3 votes
0 answers
112 views

I have BottomAppBar declared in xaml for one ListPage and another BottomAppBar in ReportsPage. Sometimes when app resuming BottomAppBar disappeared and it's often disappeared when i'm navigating from ...
vadiblis's user avatar
0 votes
1 answer
169 views

when I try to use the value I get it gets an empty string dlg = wx.TextEntryDialog(None, 'Enter User Name:', 'Log in') if dlg.ShowModal() == wx.OK: self.user=dlg.GetValue()
Kle0s's user avatar
  • 177
1 vote
1 answer
225 views

I'm working on a project where I use the Gtk.MessageDialog to get user input. Now, it works, but there is one thing I'd like to change, and that is where the caption text is positioned within the ...
RPiAwesomeness's user avatar