Questions tagged [button]
Buttons are simple elements in graphical user interfaces that take mouse clicks or finger taps (on touch devices) as input.
40,740
questions
0
votes
0
answers
27
views
Where one can find the built-in onclick method of a button within a form tag?
I'm trying to understand a little of how the following html code snippet works under the hood:
<form action="/some_action" method="POST">
<input name="name"&...
0
votes
2
answers
63
views
Is there a way in VBA to create a button that pulls a random number from a list/table and insert it into another cell?
Let me start this off by saying I have no prior experience with (ActiveX) buttons in Excel, I know my way around excel but never had to work with VBA that much. I am very open to learning so any nudge ...
1
vote
1
answer
37
views
discord.py how to make buttons only usable for person who made the command
alright so i am trying to make a bot that has multiple funny commands, whatever, so i everything was well but then i noticed that other people were clicking the buttons instead of the original person ...
0
votes
0
answers
30
views
Android Java PTT Button on CAT42 H+
I would like to assign the PTT button in a Java app on a Caterpillar CAT 42 H+. Does anyone know of an event/listener that makes this possible.
I have not found any solution for the CAT42 H+. I found ...
0
votes
0
answers
25
views
Resolved! ComboBox Button SharePoint
Resolved!
I am developing a program in Power Apps that allows users to self-select subscriptions from a ComboBox. In my system there are two SharePoint sheets:
The "Benutzerdaten" sheet, ...
-3
votes
1
answer
34
views
HTML e JS use Simple Collapsible and include text form file togheter
i need idea for my problem.
I would like to use two combined functions in simple HTML.
Use the COLLAPSIBLE buttons to make a text imported from a TXT file appear... this is my code but it doesn't hide ...
0
votes
1
answer
14
views
Error alert not working in button function connection with input in react
I have a log in button and when clicked it has an alert that says log in was successful, but I'm trying to add an error alert if input is empty that will says Please enter your information and it's ...
1
vote
1
answer
32
views
I don't know how it works to execute events when clicking buttons on a calculator from a code I found
I found this calculator code on Github and wanted to know how it works to execute events when clicking buttons.
The "button_click" method appears in the code, but I don't understand how it ...
0
votes
0
answers
26
views
How to interact with an html button element while a dialog element is open
I have a web page with html dialog element and there is a button on the page, how to enable interacting on the page elements while the dialog element is open. Example:
document.getElementById("...
1
vote
3
answers
65
views
Make buttons to switch between 12 and 24 hour time that saves to localstorage
I have a clock in my website, and I would like to add a button or switch into settings that switches the time from 12 hour and 24 hour and vice versa.
My problem is that I have no idea where to ...
0
votes
0
answers
32
views
How to change background-color of QPushButton in PyQtDarkTheme
I'm trying to change the background-color of my QPushButtons in PyQtDarkTheme, but it just doesn't work.
My real project i'm working on.
I've tried it like this, changing the text-color or ...
0
votes
2
answers
56
views
ElevatedButton not take up height of parent on Flutter Android
Like the title, you can see my Button is not take up full height of the Row.The Blue background color is the Container wrap my button to visualize the container size. You can see the Image without ...
0
votes
0
answers
22
views
Piping Enter keypress events from button HTML element to inside label element
I'm trying to hack up button element as a trigger for checkbox or file input. I've followed Styling an input type="file" button
I've tried to variants (all testing in desktop Chrome). In the ...
-1
votes
1
answer
47
views
Hovering buttons inside heading behaves strangely
I have an introductory paragraph as a heading and inside some buttons, which, on hover, should each show a different image in a different position on the screen.
The problem is that the hover only ...
1
vote
1
answer
35
views
Allow to select multiple buttons
struct Question {
var title: String
var options : [String]
}
struct SimpleQuestions: View {
@State var selectedOption = ""
@State var question = Question(title: "...