Questions tagged [messagedialog]

119 questions
1
vote
2 answers

MessageDialog doesn't close

I have an Python application with a wx.dirPicker control that can be manually changed and I need to be sure that the chosen path exists before running my code. To do that I'm using this: def m_dirPicker1OnUpdateUI( self, event ): …
TMoover
  • 620
  • 1
  • 7
  • 22
1
vote
1 answer

modal MessageDialog from other thread

I have issue: One thread raises event that is listened from main thread. Main thread in eventHandler raises message dialog like this: MessageDialog md = new MessageDialog (parent_window, flags, msgtype, btntype, msg); md.Run (); …
BorisT
  • 138
  • 7
1
vote
2 answers

wxpython change message dialog font?

Python 2.7.3 x64 wxPython 2.8 x64 I'm having trouble changing the font of the wxpython message dialog box. I'd like to use a fixed-width font (I think wxFAMILY_MODERN is) to control the formatting of the output. Here's the code I'm using to test…
RMWChaos
  • 885
  • 1
  • 11
  • 11
0
votes
0 answers

Delphi 11, Android, MessageDialog and ProgressBar

I use the dialog to confirm user actions: TDialogService.MessageDialog('Question?', System.UITypes.TMsgDlgType.mtInformation, [System.UITypes.TMsgDlgBtn.mbYes, System.UITypes.TMsgDlgBtn.mbNo], System.UITypes.TMsgDlgBtn.mbNo, 0, // Use an anonymous…
0
votes
1 answer

How to close TDialogService.MessageDialog() automatically after a certain time in Delphi FMX on Android?

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 to auto-close TDialogService.MessageDialog after…
0
votes
1 answer

How to display a Toast MessageDialog in Swift using TableView and TableViewCell

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 toast message dialog display all the data that i…
0
votes
1 answer

UWP Application not run correctly on startup

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 to start at log-in] I use these codes : Code…
Mahdi
  • 33
  • 1
  • 7
0
votes
1 answer

PostgreSQL, Java : How to print jast the RAISE EXCEPTION message without info about the place in the code?

This is my java method: public static boolean addEmployee(Employee employee) { String sql = "SELECT addemployee(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);"; try (Connection conn = connect(); PreparedStatement ps =…
Hleb Shypula
  • 158
  • 1
  • 2
  • 12
0
votes
1 answer

From a MessageDialog how to read variables when i use pango markup?

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 message("Type de formatage : " + type), type1,…
kramer
  • 177
  • 1
  • 4
  • 15
0
votes
2 answers

MessageDlg does not recognize 'tab'-characters(#9) in Delphi 10.3

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 MessageDlg and not the string itself as it displays…
0
votes
1 answer

UWP - Display Message Dialog 1 time

I have the code below: if (jumlahiddb < jumlahbuku) { DownloadBukuKomik(url); string KomikUpdate = @"INSERT INTO books (id,title,folder_id,identifier) SELECT " + intID + ",'" + namaFile + ".pdf',67,'" + namaFile + …
Rose
  • 613
  • 4
  • 22
0
votes
0 answers

QML MessageDialog not shown correctly

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 when certain situations arise, such as low battery…
0
votes
1 answer

Winrt Message Dialog not showing

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 int APIENTRY wWinMain(_In_ HINSTANCE …
A Murray
  • 421
  • 1
  • 9
  • 15
0
votes
1 answer

Problem with BWidget's MessageDlg

I am trying to use BWidget's MessageDlg. As it follows from the documentation here, the -aspect ratio defines the ratio between the width and height of the message window. However, seems it has no effect. For this code: For package require…
Vahagn
  • 4,670
  • 9
  • 43
  • 72
0
votes
1 answer

Colors of the TDialogService.MessageDialog

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.mtConfirmation, [TMsgDlgBtn.mbOK], TMsgDlgBtn.mbOK,…
Alex Egorov
  • 907
  • 7
  • 26