Questions tagged [modality]

A modality is a form of communication between a user and a program.

A modality defines the state of user interaction with software or a device, and multi-valued logic can be used to handle complex behavior and overlapping states.

References

51 questions
1
vote
1 answer

In WinForms, has anyone seen invoking of one modal dialog from another modal dialog cause the modality to get undone?

The Questions: Has anyone seen invoking of one modal dialog from another modal dialog cause the modality to get undone? If you wanted to make a call with ShowDialog so that you get back a result, but without it being modal (other Forms still…
Brian Kennedy
  • 3,499
  • 3
  • 21
  • 27
1
vote
1 answer

modal internal frame uses 100% CPU when is called from JMenuItem

I'm using this ModalityInternalFrame (from here - the used calass's code is at the end of question) for creating modal internal frame over other internal frames. they have no problem when they are created and showed from a JButton's actionPerformed…
Ariyan
  • 14,760
  • 31
  • 112
  • 175
1
vote
3 answers

JDialog for status display . .

I just want to implement a status dialog. How to show a JDialog which blocks the user input but allow the parent window processing its own work?
Sanjeev
  • 397
  • 1
  • 8
  • 20
1
vote
2 answers

Want a JDialog to be "modal" but not block other windows

I'm working on a program that traverses a list of objects every pass through. When an object's "time" (i.e. number of passes) is up, it brings up a JDialog to request its next task. The problem is how to deal with multiple objects making this…
0
votes
0 answers

Can someone tell me the steps to make RIS connection with modality emulator using asp.net windows form?

I have been trying to make a windows form using asp.net but unfortunately I cannot establish a connection with Modality emulator DVTK. I have tried all steps but I cannot find any useful documentation or instruction guide. Can anyone please help me…
0
votes
0 answers

popupstage.initOwner() moves the window and it's ugly to look at

Here is a video showing this bug: https://youtu.be/anF1pp1CVDg It happens when I create a new window on top of the already existing one. I use this function: public static void newWind(String fxml) throws IOException{ FXMLLoader fxmlLoader =…
Allexj
  • 1,375
  • 6
  • 14
  • 29
0
votes
5 answers

Open aspx page as a modal popup

I have a grid with edit option ,and on edit button click i need to redirect to an edit page . the requirement is to get this edit page as a popup with background (prev page) greyed out. i tried modal popup, but the controls are on a separate page…
Rajat banerjee
  • 1,781
  • 3
  • 17
  • 35
0
votes
1 answer

Hiding a parent modal popup in VB.NET / ASP / Ajax

I have a modal popup extender on a parent form (called from a child aspx is in an iFrame). I'm able to show it by calling parent.ShowModal(); Which is a javascript function on the parent page that executes $find('ModalPopupExtender1').show(); It…
user724198
0
votes
1 answer

ER Diagrams - Can someone please explain modality?

ER Diagrams - Can someone please explain modality? Above: If there is a module it must belong to a course. And if there is a course we'd really like there to be a module. But is the diagram correct? The foreign key constraint enforces that if a…
Harley
  • 1,305
  • 1
  • 13
  • 28
0
votes
0 answers

How to freeze out all PyQt4 user inputs until backend process has finished?

I'm trying to avoid forking errors that are occurring when the user starts messing around with the GUI while backend threads are computing (for instance, moving through other tabs while a progress bar is running). Is there a way to completely…
ees
  • 327
  • 1
  • 17
0
votes
2 answers

QT Window Modality disables actions in menu

I am developing a desktop application on macOS. I have a class that is a subclass of QMainWindow. Inside this window there are many dockwidgets. I need to set WindowModality to WindowModal, so user cannot interact with other opened windows. But my…
simonvaros
  • 86
  • 5
0
votes
1 answer

Window modality and `esc` key

If popup/window property modal is set to true, Esc key doesn't close it. Is there a way to overcome such behavior? A tiny sample of the window: webix.ui({ view:"popup", position:"center", height:400, width:400, //modal:true }).show(); …
0
votes
1 answer

JPopupMenu Modality

I'm not entirely sure if "modality" is the correct term that I need to describe the issue, but I have a standalone application with a JDialog. The JDialog is set to block all other parts of the application until the dialog is closed. I recently…
0
votes
1 answer

QProcess started from a QMainWindow freezes window

I have a simple QMainWindow in which user can set some parameters. I have three buttons which, when clicked, create a new QProcess displaying a QMainWindow. For example, main window's button A starts QProcess A, main window's button B starts process…
Michael
  • 876
  • 9
  • 29
0
votes
2 answers

How to stick a JDialog to a JFrame?

it means when I click a button in my JFrame, a JDialog will be shown.I want to ban my JFrame, it won't be touch but still be shown on screen. I use command in my frame: button.addActionListener(new ActionListener() { public void…
My Will
  • 400
  • 4
  • 27