Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
77 views

How to open the event handler to a link button in a WebForm (VB.net)

I did my first app but I am having hard time to find the event handler to my link button which I have created. I connected my gridview to my SQL file, did validations all I have to do now is to "...
Adele's user avatar
  • 1
-1 votes
1 answer
239 views

Programmatically changing aspx button Click event on the Form Page_Load inconsistency

I'm getting an inconsistent behavior. I need to change the User Control's button Click event. I have two buttons, all the changes I make to the controls work fine, but there is only one Click event ...
unvascorriendo's user avatar
0 votes
0 answers
281 views

EventHandlers, ActionListeners, and buttons. How to register a Handler on three buttons?

I don't think the rest of the code is needed but if I'm missing something let me know. I don't know what it wants me to do but the instructions provided to me by my professor isn't very clear to me. ...
sirdanforth's user avatar
0 votes
1 answer
2k views

How to display an image when a button is pressed in JavaFX

I'm having trouble figuring out how to display an image when a button is pressed. Here's what I have so far: public class Flags extends Application { @Override public void start(Stage primaryStage) {...
Chris Johnson's user avatar
0 votes
1 answer
899 views

About PauseTransition in javafx

I created a VBox (root) and added some Button in it. When I click the button with text "Click" (button_to_click), ten other button (an button array with ten elements) will change background color into ...
Đặng Huy's user avatar
0 votes
1 answer
90 views

return a colored box after button pressed

I'm trying to learn flutter and right now I'm working on buttonclicks. I have a very easy program below where the integer sum = 5. If the user returns 5 in the textfield and clicks the submit-button ...
J.W's user avatar
  • 1,175
0 votes
2 answers
39 views

Javascript "Don´t change states to fast"

Hey guys i have an code which changes from one state to another when you click on a button(it starts a video and blends). Now i try to say my eventhandler if someone clicks very fast he shouldnt use ...
Delidragon's user avatar
0 votes
0 answers
216 views

How to correctly implement the Action Listener to button

This program first displays a bullseye created by three different sized cirlces. Once the animate me button (btn) is clicked, the function animation() will make the existing circles shrink inwards ...
Doe J.'s user avatar
  • 9
0 votes
2 answers
261 views

how to clear button color second click in flow layout panel c#

I have a lot of buttons in flow layout panel. I created these buttons programmatically. But I didn't if click button its color will be light green after second click will be reset color. I wrote this ...
Sezer Erdogan's user avatar
0 votes
1 answer
687 views

Event Listener to change the button color when clicked

How to change the focus listener to only action performed, so when the button clicked, it will trigger the fade method? class FaderTimer implements FocusListener, ActionListener { private ...
Audio Alief's user avatar
0 votes
1 answer
1k views

JavaFX button event handler compilation error [duplicate]

A piece of my code package scr; import java.awt.event.ActionEvent; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.Socket; import java....
Nadia's user avatar
  • 7
2 votes
4 answers
31k views

ReactJs toggle Button to open Menu

I built a React component, Toggle Menu, which gets triggered by a button. I'm not able to see the menu open/close after the initial open. A bit lost on how to get started to fix this issue... This is ...
Alex's user avatar
  • 467
1 vote
2 answers
3k views

set button on action within method java

How could I set the action of a button within the same method I am creating the buttons? My desired method would be something like this: private void buttonsCreation() { //----------------...
user avatar
0 votes
2 answers
102 views

basic button handler needs 2 clicks to actually work

This is my first post here... I made my search work, but I'can't find a solution for this basic problem (still a C# newbee. Sorry, and thanks for your help): this basic button handler needs 2 clicks ...
espressif's user avatar
-1 votes
1 answer
985 views

QT how to handle a button-press event from the external C++ class

I want to write an external C++ class called "buttonHandler", which supports specifically button-click event in Qt, but I don't know how to create a hard link to the objects (buttons) from the "...
TheInvisibleMan's user avatar

15 30 50 per page