Questions tagged [messagedialog]

119 questions
0
votes
1 answer

How to change message dialog text font at runtime in uwp?

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 pages, but no effect for content in a message dialog,…
0
votes
2 answers

Fixing JOptionPane code that will not show?

He is my code: import java.util.Scanner; import javax.swing.JOptionPane; public class TicketNumber { public static void main(String[] args) { Scanner key = new Scanner(System.in); …
0
votes
1 answer

How can I set focus on text instead of button in SWT MessageDialog or MessageBox?

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 blind people who use screen reading software. But…
APex
  • 29
  • 5
0
votes
0 answers

MessageDialog confirmation does not work in Windows 10 Mobile but works in Windows 10

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 OnLaunched(LaunchActivatedEventArgs e) { ... …
PutraKg
  • 2,226
  • 3
  • 31
  • 60
0
votes
1 answer

Halt code's execution, but not the application

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 defined in SafeToSave() // Check if it's safe to…
TS-
  • 317
  • 3
  • 15
0
votes
1 answer

MessageDialog ShowAsync throwing accessdenied exception

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 MessageDialog("Changes have made a restart…
TS-
  • 317
  • 3
  • 15
0
votes
1 answer

wx Python MessageDialog popping up behind BusyInfo box?

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, while this busy info box is still visible, and I…
Erik343
  • 323
  • 4
  • 14
0
votes
1 answer

Windows Phone 8.1 Modal Dialog. How?

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 MessageDialog on the screen for only a moment, and even blows…
LionelGoulet
  • 557
  • 2
  • 13
0
votes
0 answers

Cannot resolve symbol, but using-directive is right - build fails

using Windows.UI.Popups { ... uninteresting ...} var _dialog = new MessageDialog("...","..."); Error: The type or namespace name "MessageDialog" could not be found
Best_Where_Gives
  • 481
  • 2
  • 22
0
votes
1 answer

Custom Exceptions and Message Dialog in Try-Catch clause

I develop an Universal App that need several custom exceptions to catch errors encountered when calling webservices: NoInternetAccessException, NoJSONException, UserTimeoutException, ... Here is an example of one of these classes: public class…
Gold.strike
  • 1,269
  • 13
  • 47
0
votes
2 answers

Copying the text from a GTK MessageDialog

With a windows error dialog I can use CTRL-C to copy the window text. I would like to allow users to do the same thing with the message dialogs I am using in my GTK app. Is there a way to allow a GTK MessageDialog class to handle the copy command?
chollida
  • 7,834
  • 11
  • 55
  • 85
0
votes
1 answer

wx python timer wont run continuously after dialog

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 the user about the command and giving the device…
codesoep
  • 11
  • 1
0
votes
1 answer

MessageDialog Box in windows phone 8.1?

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.
0
votes
1 answer

wxPython Textentrydialog value

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
  • 113
  • 1
  • 8
0
votes
3 answers

Windows Phone 8.1 App doesn't show MessageDialog

I have a problem concerning the Windows.Ui.Popups.MessageDialog. I am developing a Windows Phone 8.1 App using the Prism framework with Unity and Visual Studio 2013 Community. When I try to show a simple MessageDialog from the ViewModel with code…
Tombaman
  • 21
  • 3