Questions tagged [messagedialog]

119 questions
3
votes
0 answers

Windows Phone 8.1 BottomAppBar disappeared after resuming or navigating to another page

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 ListPage to ReportsPage using MessageDialog…
vadiblis
  • 99
  • 6
3
votes
1 answer

How to set the default button of a MessageDialog in QML?

The default button is "Yes", but I want to set the button "No" as the default button. How to do it?
Jeff
  • 111
  • 2
  • 9
3
votes
1 answer

Windows Phone 8.1 override back button on a certain page

I am developing a WP 8.1 XAML app. The first page is a login page, the second for example a history page. There will be more pages, but it doesn't matter at the moment. When I press the login button on the login page, the second (history) page…
3
votes
2 answers

How to implement IWindowCloseHandler in Eclipse (e4) RCP?

How can I implement IWindowCloseHandler in order to display a MessageDialog before closing the application ? Here is my code : EDIT public class LifeCycle { @PostContextCreate public void postContextCreate() { // TODO start up code…
Ismail Sen
  • 571
  • 2
  • 14
  • 27
3
votes
1 answer

MessageDialog - needs to wait for user input

I have a ViewModel which instantiates an event in a synchronous method. The event signals to the UI that we need a "Yes" or "No" answer from the user before continuing. I am trying to display a MessageDialog and wait until the user provides an…
user2334154
  • 429
  • 1
  • 6
  • 12
2
votes
1 answer

How to display different comments when an if condition is true or false with Jbutton

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 want it to display another comment like "Great Job". Here is…
WiloWisk
  • 137
  • 3
  • 10
2
votes
3 answers

Program outputs the wrong option from if-else statement

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 "Incorrect. The correct answer is A." message,…
etaaaaaaa
  • 31
  • 4
2
votes
0 answers

wxpython message dialog right to left

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(self, "הבדיקה הסתיימה\r\n התוצאות נמצאות בקובץ אקסל…
delex
  • 201
  • 1
  • 5
  • 13
2
votes
1 answer

Customize style of MessageDialog

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 on? Here one does implement it's own ContentDialog…
testing
  • 19,681
  • 50
  • 236
  • 417
2
votes
1 answer

Holding event fired twice windows phone 8.1

I have a holding event on a ListBoxItem. So When I hold an item, it enters right in the function but it appears as it's fired twice. private async void OutersAndContactInTel_Holding(object sender, HoldingRoutedEventArgs e) { try { …
Hubert Solecki
  • 2,611
  • 5
  • 31
  • 63
2
votes
0 answers

Access Denied Exception with Message Dialog

I am working on a windows 8.1 app with which users can play tic tac toe. To make my app real-time, I take advantage of SignalR. Here is the code I wrote to send a game request to a user. hubProxy.On("ShowRequest", async (requestOwner) => …
2
votes
2 answers

MessageDialog from Powershell

I'm using a Scheduled Task under Windows 8 to trigger a simple .cmd file which contains a series of steps, some of which trigger an external Powershell script. I want to use the MessageDialog() features of Windows 8 to display a model message. Is it…
Peter Bridger
  • 9,123
  • 14
  • 57
  • 89
2
votes
2 answers

Login screen in Windows store app - MessageDialog

I'm wondering, how to create login screen to looks like in picture below. It looks like MessageDialog, but I have no idea, how to achieve that kind of stuff. I was searching on net for this, but nothing usefull for total beginner as I am. I know…
Clem
  • 11,334
  • 8
  • 34
  • 48
2
votes
1 answer

Win8 store Application, do some check in the OnNavigatedFrom Method

I wanted to do some check, when I click the NavigateButton(Back) to home page. 1.Display the MessageDialog show update the content "yes" or "not" 2.If click yes, update current page. If click No, do nothing 3.navigate to homepage. I use below…
Heathcliff
  • 21
  • 1
2
votes
3 answers

How to use Right-to-left in Popup.MessageDialog (Metro)

I want to show Right to Left MessageDialog. but it seems that such option does not exist. I saw a question like this (How to center Popup in Metro style app in c#), but i think that RTL is a different issue. is the only solution is to write my own…