Questions tagged [non-modal]
59 questions
0
votes
2 answers
Escape in QDialog works only in modal mode?
Esc does not work for my dialog in non-modal mode, event going to underlying window. Only adding
setWindowModality(Qt::WindowModal);
to the dialog on creation makes the Esc key work and calls the reject() slot. Is it normal or possible to Esc…

Aleksey Kontsevich
- 4,671
- 4
- 46
- 101
0
votes
0 answers
Problems adding a non-modal, child Windows.Forms.Form to a main Form which prevent child from receiving focus
Preface (likely to be removed later, after answers posted). This is a question to which I could not find an answer anywhere online (after a couple of days searching). I found an answer myself through trial-ans-error, but I am not particularly…

David I. McIntosh
- 2,038
- 4
- 23
- 45
0
votes
1 answer
log4net: How to distinguish between different forms on the same UI thread?
is there a way (NDC, Properties, ...?) to have a name/id per form that is included in all log4net messages, so I can distinguish between the forms in all log messages?
I have many service methods etc. that are used in all my forms, and I'd like to…

Dr. Tim dos Santos
- 117
- 10
0
votes
1 answer
How to implement a lightweight, non-modal, resizable and minimise-able popup
I want to have a pagein which I want to display a popup that is resizeable and minimise-able to a small button displayed in the topleft corner. When the button is clicked I want it to return to its previous size.
The content will just contain some…

SuperUberDuper
- 9,242
- 9
- 39
- 72
0
votes
3 answers
How can I prevent the main form capturing keystrokes in a TMemo on another non-modal form?
I have an app that opens a non-modal form from the main form. The non-modal form has a TMemo on it. The main form menu uses "space" as one of its accelerator characters.
When the non-modal form is open and the memo has focus, every time I try to…

rossmcm
- 5,493
- 10
- 55
- 118
0
votes
1 answer
iOS 6.1 - How do I implement imagePickerControllerDidCancel for a non-modal UIImagePickerController
On iOS 6.1, I am displaying a UIImagePickerController non-modally in one tab of a UITabBar.
In my init:
self.picker = [[UIImagePickerController alloc] init];
self.picker.sourceType = UIImagePickerControllerSourceTypeCamera;
self.picker.mediaTypes =…

GRW
- 605
- 12
- 27
0
votes
1 answer
Window management - opening, closing & re-opening non-modal forms?
In pseudocode, this is what I am trying to do from a main window, with many non-modal sub-windows that can be opened and closed independently of the main window.
(Think "preferences" or "find")
On pressing "OPEN WINDOW"
STEP 1: If window does not…

QueenSaphos
- 95
- 1
- 7
0
votes
2 answers
JOptionpane + JDialog (non-modal) get the return value
I have a non-modal dialog with two input text fields shown with the JOptionPane with OK and CANCEL buttons. I show the dialog as below.
JTextField field_1 = new JTextField("Field 1");
JTextField field_2 = new JTextField("Field 2");
…

AJJ
- 3,570
- 7
- 43
- 76
0
votes
1 answer
how to get IWin32Window of form using reflection
I have a windows form that I am displaying as non-modal dialog. As a result I am calling the overloaded Show(IWin32Window owner) method on that form. Only problem is that one of the parent forms that I want to use here is not accessible in the…

crazy novice
- 1,757
- 3
- 14
- 36
0
votes
1 answer
Python: Non-modal window with subprocesses
I need to implement the following UI:
- There is a window with a label "running experiment 1/X" and a button
- When the window is loaded, some experiments are started. The experiments are run by os.system of subprocess.Popen, they are just…

Daniel
- 305
- 1
- 4
- 13
0
votes
1 answer
How to make non-modal WPF window fully draw before thread waiting
I want to show non-modal Information Window and wait for touch of smart card in other thread. I need to block my main UI thread to prevent user actions unless the smart card will be touched with card reader.
I do it in main thread…
0
votes
2 answers
Winforms Non-Modal notifications
I have an app that currently shows a message box when the users saves that just says "Saved successfully". The problem is, user's tend to save frequently when using this app and the message box is a pain in the @$$. I'd like to have a little…

ConditionRacer
- 4,418
- 6
- 45
- 67
-1
votes
2 answers
Change to non-modal in tkinter
How can I change it to non-modal ?
If button is clicked then cursor doesn't change. If I change it to non-modal then it should be ok.
def start_new_proc():
# text.config(cursor="clock")
root.config(cursor="clock")
…

Alex
- 11
- 4
-2
votes
3 answers
How to ensure garbage collection when user closes a non-modal window?
In my C# Winforms App, I have the following (minimal code shown)
Form1 is the main app that the user uses to do stuff. Form2 shows a help file that explains how to use the features on Form1 to do stuff. I want the user to be able to display…

VA systems engineer
- 2,856
- 2
- 14
- 38