12,253 questions
0
votes
0
answers
25
views
Angular dialog popup with query parameters (without using materials package)
need to know the syntax for router.navigate for dialog Popup from a click event
below routing works ( as a non dialog webpage) & wanted convert into a popup !
but how do I open it as a dialog(...
0
votes
1
answer
849
views
Shadcn: How do I prevent a dialog from closing when clicking outside?
When I click outside my Shadcn Dialog component, the dialog is closed automatically. Is there any way to prevent this behaviour? I would like it so that the dialog will remain open, even after ...
1
vote
1
answer
66
views
What is the better way to use fyne dialogs synchronously in Go?
I am programming a little software in Go called GoFileEncoder. For the file dialog boxes, I would like to use fyne.io/fyne/v2/dialog. Only, the functions dialog.ShowFileOpen() and dialog.ShowFileSave()...
1
vote
0
answers
37
views
Managing a pattern entity with slots
For my application, I created an @order_number entity that has a regex pattern \b\d{5,10}\b. The entity was inserted into a slot that identifies the order number and saves it in $order.
The process ...
1
vote
0
answers
347
views
Radix UI Dialog Overlay disappears when switching browser tabs (Next.js + ShadCN)
I’m using Radix UI Dialog (via ShadCN UI) in my Next.js 13+ project.
Everything works fine when I open the dialog — the overlay (bg-black/80) appears as expected and blocks the background.
However, if ...
2
votes
1
answer
168
views
How to disable "blow up" behavior when opening a dialog window on Windows 11?
I have a VCL app written in Delphi 12.3. It displays a dialog over a form. The dialog may be displayed as the result of a toolbar speedbutton click, or from a menu selection; if called from the ...
0
votes
1
answer
55
views
No option to create message-driven beans in a Maven project when we select Enterprise JavaBeans in NetBeans
While trying to create a new message-driven bean template using EJB or Web module created in Maven, my project does not show the option of message-driven beans when I select Enterprise Beans in the ...
0
votes
1
answer
55
views
How to focus only Overlay on next.js using aria
I need to focus overlay/dialog when using screen reader.
so I added aria-hidden="true" on main area when open dialog , and added role="dialog" aria-modal="true"
But on ...
1
vote
2
answers
85
views
Why does the dialog window not show content when clicking on button?
I am trying to open a dialog window that comes up when clicking on 'Add/Remove Reps' button. When I click on that button it opens up a small, slim window on the left side of the browser with no ...
-1
votes
0
answers
87
views
Screen reader announces dialog accessible name twice when focusing trigger button after dialog closes
I'm implementing a modal dialog with proper accessibility, but I'm experiencing an issue where screen readers announce the dialog's accessible name twice when focus returns to the trigger button after ...
3
votes
2
answers
74
views
Jquery dialog box inside each/for loop
I'm trying to choose what math operation do with each number of an array.
I've tried with array.each() function and now with for() and to make the selection I've tried with confirm() plugin and now ...
0
votes
1
answer
75
views
How to position MUI Dialog in the top-right corner?
I'm working on a React project using MUI, and I need to position the Dialog component in the top-right corner of the screen.
Additionally, I do not want the default overlay (backdrop) to be shown.
...
1
vote
2
answers
57
views
How do I make my dialog-modal open a different modal for every link with the “data-open-modal” code?
I taught myself HTML, CSS, PHP, and MySQL many years ago, but I never got around to learning JavaScript. I’ve just picked up where I left off, but there are so many new things to learn since I last ...
0
votes
3
answers
182
views
Drawing red rectangle around a combo
I have a simple dialog application in MFC with 2 combo boxes.
I am trying to use the dialogs paint handler to add a rectangle around the combos if they have no item selected:
void ...
1
vote
2
answers
86
views
Simplest way to open/close multiple <dialog> pop-ups on the same page independently of one-another?
HTML
<dialog class="dialog">
<button class="close" autofocus>×</button>
<p>Some Content</p>
</dialog>
<button class="button open"&...
0
votes
0
answers
21
views
Is there any option to use MUI badge with MUI Dialog?
<Badge
color="error"
invisible={!open}
variant="dot"
badgeContent="X"
onClick={handleClose}
anchorOrigin={{
vertical: "top",
horizontal: "...
0
votes
0
answers
74
views
How to show an overlay on top of system UI (e.g., SAF dialog) without SYSTEM_ALERT_WINDOW permission?
I'm building a Flutter app that uses SAF (Storage Access Framework) to let users pick WhatsApp statuses using a directory picker. I want to display a small guidance overlay (like a tooltip or ...
0
votes
2
answers
101
views
<dialogue /> modal does not block body from scrolling
useEffect(() => {
if (modal_ref.current) {
modal_ref.current.showModal();
}
}, [foc]);
when my <dialogue /> component is rendered and covers the entire viewpoint, the above ...
0
votes
2
answers
46
views
How to create reusable extension functions for Dialog and BottomSheetDialog in Android?
In my Android project, I often end up repeating the same boilerplate when working with Dialog and BottomSheetDialog. This includes setting up view binding, configuring properties like isCancelable, ...
0
votes
0
answers
71
views
dialog popover with page scroll bar
I would like to create a modal (similar to Bootstrap's modals) with <dialog popover>. I want the scroll bar to be in the page, not in the modal -<dialog>. Here is the code:
<button ...
0
votes
1
answer
44
views
Please why am i getting scriptb.js:18 Uncaught TypeError: Cannot read properties of null (reading 'showModal')
When I run my code, I get the following errors on my developers tool:
scriptb.js:9 Uncaught TypeError: Cannot read properties of null (reading 'showModal')
at HTMLTableCellElement.<anonymous>...
-1
votes
1
answer
86
views
Automatic insertion of a value in the program [closed]
I need to periodically record a value in the program using a dialog box.
The program is written in Borland Delphi 7, Windows API. The recorded value is stored in RAM.
I also have a Java program in ...
0
votes
2
answers
76
views
Date Picker Dialog not opening
I'm creating a date-of-birth picker screen with Jetpack Compose in Kotlin, where I need to let users select a date using a DatePickerDialog. I'm invoking this Composable function within onCreate() ...
1
vote
2
answers
141
views
How to close dialog in React?
I have a general DialogueWindow component:
function DialogueWindow({elements}) {
return (
<div className="backdrop">
<dialog className="dialogue-window">
...
-2
votes
1
answer
220
views
How to open browse for folder dialog using SHBrowseForFolder function with a root folder and second, selected folder below?
How to open browse for folder dialog using SHBrowseForFolder function in Visual Basic for Applications with a root folder and second folder below selected with the mouse in the folder tree, even deep, ...
0
votes
1
answer
49
views
Run few dialogs in WinUI3
I need to run few ContentDialog one by one. I use this code below to run dialogs:
await App.GetService<IFirstRunDisplayService>().ShowIfAppropriateAsync(App.AppXamlRoot);
await ...
0
votes
0
answers
51
views
TTK - Don't apply current style for single widget (in own dialog window)
I have the following problem. In my application I use 'black' theme from ttkthemes, with some additional changes. I also uses dialogs for getting values. I also have created my own dialog with ttk....
0
votes
1
answer
105
views
Dialog box for a user with an active session
My task is to update a program on users' computers. I will do this by running a script on behalf of the system account via the task scheduler.
But before starting the procedure of deleting and ...
0
votes
1
answer
62
views
Inconsistency in DLUs/pixels ratio
Microsoft claims that MapDialogRect converts DLUs to pixels using baseunitX/4 and baseunitY/8 coefficients returned by GetDialogBaseUnits.
However, I don't see these coefficients in my tests.
For ...
1
vote
2
answers
67
views
How can I generate an OK/Cancel box with the dialog command?
I want to generate the graphic below, from the (Linux) command-line.
I can get pretty close to that by invoking:
dialog --title "fsfe.org" --msgbox "This computer\nis not old,\nit is ...
1
vote
0
answers
36
views
How Flutter dynamically controls the barrierDismissible of showDialog
How Flutter dynamically controls the barrierDismissible of showDialog
I am developing Flutter and want to implement a dialog that can be closed by clicking on the background when it pops up by default....
0
votes
0
answers
199
views
How to link feedback to the response message in Teams Bot - Bot Framework SDK
In OnMessageActivityAsync, I am getting an API response, adding feedbackLoop to channelData and calling SendActivityAsync.
var replyText = $" {APIresponse} ";
var seperator = "--------...
0
votes
0
answers
34
views
CDK RADIAL Dialog is not loading in jest test cases
I am not able to load the dialog in test cases which is coming from cdk-radial. I want dialog to open in jest test cases [its working fine in development].
import React from 'react';
import {...
3
votes
1
answer
418
views
Creating a Dialog Box with text input and other user interactions with just Win32 API?
I'm making a (modal) dialog box with text input in C or C++ with just the Win32 API by itself (without MFC or such):
I have done it from scratch (see code below), and it works, but each time I add a ...
0
votes
2
answers
96
views
Dynamic dialog radiolist from MySQL or MariaDB query?
This works to create a name-picker radiolist dialog box:
dialog --stdout --no-tags --clear --backtitle "Name Picker" --title " Name Selection " --radiolist " Select the name &...
0
votes
0
answers
18
views
Dialog is not working on any Windows desktop platform, including Word, Excel, Outlook, etc
I am working on a Word Add-in and using the Office Dialog API. A few days ago, everything was working perfectly, but since yesterday, the dialog box is showing a blank screen. I cannot inspect or see ...
0
votes
0
answers
46
views
Is there any way to use dialog() with Karate Robot?
I have a Karate feature file where I use robot.input('' + Key.ENTER) to interact with a confirmation dialog:
* robot {}
* robot.retry(20).waitFor("//*{^Are you sure?}")
* robot.input('' + ...
3
votes
1
answer
928
views
Window insets on dialogs jetpack compose
I have a app our company puts out and I can't seem to get the insets right for dialogs for Android 15 edge to edge. We have a NAvHost that navigates sometimes to composables and sometimes to dialogs. ...
1
vote
1
answer
525
views
NG0600: Writing to signals is not allowed in a `computed`
WHy am I getting the error: NG0600: Writing to signals is not allowed in a `computed`. yet I am using a writable signal?
Below is the code
dialog = signal(false)
openDialog(action: 'edit' | 'create') {...
0
votes
1
answer
44
views
Flutter : Dialog() widget overlay
return Dialog(...)
Information: This "Dialog()" has different sizes based on the input of the class.
Question: How can I put an overlay 20 pixels around it? Let's say red?
What did I try? I ...
1
vote
2
answers
574
views
How do you detect if the user has clicked outside of a composable using Jetpack Compose?
Using Jetpack Compose, I'm trying to create a custom popup without using the built in popup composable because the latter doesn't allow for animated entry. I've got it working mostly. The popup ...
1
vote
3
answers
447
views
WinUI 3 - How to set focus to a ContentDialog button
I have a WinUI 3 application written in C# which shows a ContentDialog to ask the user to confirm file deletions. There is a checkbox on the dialog which can be checked by the user to hide the dialog ...
0
votes
1
answer
150
views
Display a Flutter Alert Dialog when meeting a condition or on error from method
In the following code, the message "Not A Double" is displayed whenever the value in the TextField is not a double value. This is done from the methods in this Flutter app. Instead of the ...
0
votes
2
answers
70
views
JavaFX, dialog size in actual gnome
i have a problem with the dialog size. After the program-window, i open another dialogs. The dialogs has a size. This works with Windows, Linux with KDE and older Gnome (Ubuntu 22.04) but not with the ...
0
votes
0
answers
18
views
setVolumeControlStream(AudioManager.STREAM_ALARM) does not affect a compose dialog
I need the hardware volume controls to affect the Alarm audio stream (AudioManager.STREAM_ALARM) when a certain Dialog is displayed.
I already set in in the Activity is its OK. When the Dialog is ...
1
vote
0
answers
38
views
How to avoid the opening of the "download dialog" when hovering on a svg image on Android?
I created a web page in HTML showing a toolbar with icons made in svg.
Using CSS, I added the "tooltip" functionality that makes the icon function appear with a certain delay (using :hover).
...
0
votes
1
answer
117
views
HTML modal <dialog> reading the whole content
I would like to use the <dialog> tag to show a date picker popup and I'm trying to make it accessible. My hope was to reduce the effort implementing an accessible dialog (e.g. focus trap, aria ...
1
vote
1
answer
105
views
How do I prevent a shutdown when my main window is a win32 dialog?
I'm working on a win32 C++ program that has a fairly simple interface that isn't particularly dynamic. When I was looking around, I found the option of graphically creating a dialog in the resource ...
0
votes
2
answers
220
views
QtQuick Dialog with Yes / No / Cancel buttons
I thought that this should have been a super common use case:
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Controls.Universal 2.15
import QtQuick.Dialogs
Dialog {
id: rootItem
...
0
votes
1
answer
68
views
Handling hotkeys when modeless popups are active
Is there a standard way to handle this situation? I ask because in Notepad++ the hotkey F3> still works even when the Find popup window has focus.
In my application the main dialog is using the ...