Questions tagged [messagedialog]

119 questions
1
vote
1 answer

String formatting doesn't work on Message Dialog - Java

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 console, it prints with the proper format. Like the…
Mark Santos
  • 108
  • 11
1
vote
2 answers

JOptionPane showMessageDialog - Un-focus 'OK' button

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 not close. Use must have to click on 'OK' button…
SK.
  • 1,390
  • 2
  • 28
  • 59
1
vote
2 answers

Include an if condition in message-box dialog code in c#

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 condition result I want to set the default button in…
1
vote
1 answer

JMenu repeadly show showMessageDialog

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? public Game() { JMenuBar menuBar = new…
tom
  • 13
  • 4
1
vote
1 answer

MessageDialog missing in C# WPF

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 should I look to solve the problem? Update I tried…
shogitai
  • 1,823
  • 1
  • 23
  • 50
1
vote
1 answer

C++ showing caught exception in MessageDialog

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 convert a char* into a string type, which is what…
jAndersen
  • 115
  • 3
  • 13
1
vote
0 answers

ShareOpenGraphContent for MessageDialog

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. Friends can see the post. But when I create the…
1
vote
1 answer

Delphi Non-Blocking MessageDialog Example How?

I have problem using FMX.Platform.IFMXDialogServiceAsync This is my procedure: procedure TFormMain.btnLogoutClick(Sender: TObject); var ASyncService : IFMXDialogServiceASync; begin ASyncService.MessageDialogAsync('Do you want to logout?',…
1
vote
1 answer

How to change MessageDialog button text

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.DeserializeRespMessage(resp); MessageDialog msgbox = new…
Tankos
  • 181
  • 1
  • 1
  • 8
1
vote
1 answer

Why await MessageDialog in Page constructor nevers ends?

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 ParseConfiguration() { var dialog = new…
Nick
  • 10,309
  • 21
  • 97
  • 201
1
vote
1 answer

Multiple calls to MessageDialog cause crash under Windows Phone 8.1

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, Server Exception, ... I have created a class…
1
vote
1 answer

Content Dialog in Windows 10 UAP

How do I made that after clicking on PrimaryButtonClick my ContentDialog don't close? private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { }
goodniko
  • 163
  • 3
  • 14
1
vote
1 answer

Windows.UI.Popups.MessageDialog does not work for Windows 10 IoT

await new Windows.UI.Popups.MessageDialog("Test").ShowAsync(); Has anyone else noticed this? Is there an easy work around ?
punkouter
  • 5,170
  • 15
  • 71
  • 116
1
vote
1 answer

Is it possible to change the position of a Gtk.MessageDialog's caption text?

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 dialog. Here's what it looks like right now: I was…
RPiAwesomeness
  • 5,009
  • 10
  • 34
  • 52
1
vote
1 answer

Stop IWizard for Warning Message

I am doing Eclipse plug-in development... When the user clicks finish, I am making a service call that will return three options. 1. Everything is okay to proceed 2. Give user warning 3. Stop Finish completely So 1 and 3 are easy. Here is what I am…
Chris Bolton
  • 2,162
  • 4
  • 36
  • 75