Questions tagged [close-button]
18 questions
2
votes
1 answer
(Vue.js) modal close event
When I click on the outer area of the modal, I want the same event as the close button of the modal. (Event that closes modal when clicking outside area of modal)
The current progress is that the modal is closed when the close modal button is…

ddon
- 185
- 3
- 4
- 15
1
vote
1 answer
Hide div when clicking the close button with CSS
In my application I need to have notice/warning/error boxes (DIVs) that the user can close with a button located inside the box itself. A problem I'm facing is that the :has() pseudo-class is not widely supported; otherwise I could do something like…

Pedro Gimeno
- 2,837
- 1
- 25
- 33
1
vote
1 answer
How do I stop the close button from closing more than one tab? C# TabControl with a Close Button
So, I followed a couple of tutorials on TabControl with a Close Button, and I came up with a solution- however, it seems that by pressing the close button, it also closes the next tab over and sometimes the next tab after that.
Here is the MouseDown…
user12393625
1
vote
1 answer
How reset the values in html
when the user made an unnecessary changes and dont want to save it then it should reset the values to previous values when the user clicks on cancel button.Any solutions

Trang D
- 333
- 5
- 16
0
votes
0 answers
is it possible to change the close icon of ngx-toastr using css in angular?
this is how it should look like
this is how it's looking right now
I want to add this close button or icon (referred in the first image link) in my toastr.
I have tried to override it by using image and icon but nothing works because it's harcoded…

Arian
- 1
0
votes
1 answer
How to hide the tab close button [X] in sublime?
I open a lot of tabs in sublime, when I switch tab by clicking other tab, I sometimes mis-click on their close button.
Is it possible to hide the close button(X) in sublime? I usually close with keyboard shortcut or middle click, so I don't need the…

fall
- 984
- 11
- 33
0
votes
1 answer
override the mat-chip-remove positioning styles
On mat-chip documentation i read that:
MatChipRemove
Applies proper (click) support and adds styling for use with the
Material Design "cancel" icon available at
https://material.io/icons/#ic_cancel.
You may use a custom icon, but you may need to…

KeyserSoze_AN
- 9
- 1
0
votes
2 answers
Two modals with different ID show the same content
I'm trying to code a page where, on clicking different areas of a map, different modals with different content pop up.
However, when I click on either area, the same content shows up (and the "close" button doesn't work).
I gave them different IDs,…

anks
- 3
- 2
0
votes
1 answer
Tabpage that opens by menustrip button, but closes by the image on the tabpage header
I have the main form where there's tabcontrol and menustrip. In menustrip there are few buttons that should open the tabpages in tabcontrol with defined name and the perspective to fill in it with own content. But the function of closing the tabpage…

AliveUser
- 3
- 4
0
votes
1 answer
How do I make close button work on multiple Modal pages
I'm new at coding and have been teaching myself. I am working on creating a site for my art work. I want it so that each piece that is clicked on opens up a modal page with info about the piece. I was able to successfully create a functioning modal…

Kevin
- 37
- 7
0
votes
2 answers
Task after closing the tkinter window
My program has to do some task after the tkinter window is closed.
When the 'X' button is pressed, it should print "The window is closed, how to do it"???
my code is
from tkinter import *
root = Tk()
Label(root, text = "This is for stackoverflow('X'…

Prakhar Parikh
- 177
- 2
- 13
0
votes
1 answer
Tooltip with click button to close -Leaflet
I want to display a tooltip with a close button on the page with instruction.when the page load tooltip should be there with close button so after reading instruction person can close the tooltip.currently with this code I manage to load tooltip but…

poonam patel
- 135
- 13
0
votes
1 answer
Why is exit command is not quitting sometimes in python tkinter exe?
In some os's, When you make a tkinter window and put it to mainloop, and make a button for exit and convert it to exe (with pyinstaller) like this:
from tkinter import *
def exit_():
window.destroy()
exit()
window = Tk()
text =…

math scat
- 310
- 8
- 17
0
votes
0 answers
Add close button into a viewer created with jquery?
I have created a viewer which I inject into a draggable layer to display in case any of the elements come out of the original container.
The problem comes sometimes when the operators are covered by the viewer, which I have placed at the bottom…

homerThinking
- 785
- 3
- 11
- 28
0
votes
0 answers
TabControl Drawitem does not draw close image
I have a tabcontrol in my form,
and I also have close button (image) on my tabs.
But when I change language from it stops drawing the close button image.
private void arabicToolStripMenuItem_Click(object sender, EventArgs e)
{
…

Hassan Adam Khan
- 33
- 1
- 6