Questions tagged [eventhandler]
In object-oriented programming languages (such as C++, Lazarus Pascal or Visual Basic), visual objects (or components) can respond to *events* (usually) by the user. An event handler is the block of code that runs when an event occurs. Eg: *Onclick* event for a command button.
eventhandler
818
questions
5
votes
2
answers
4k
views
Using showAndWait in the onFinished EventHandler of an Animation doesn't work
In JavaFx, I want to show a modal dialog after an animation ends. For some reason, calling showAndWait in the EventHandler that gets executed after the animation ends doesn't work. A new window is ...
1
vote
1
answer
853
views
Kinect: Grab/Release
I'm a beginner in Kinect Programming. Yet I read different tutorials and texts about it. Furthermore I was working on the code examples ("Controls Basis-WPF").
Unfortunately none of the sources teach ...
2
votes
3
answers
205
views
Accessing Dynamically created control (textbox) in a dynamically created eventhandler
I am trying to access my dynamically created TextBox in C#, inside an event handler of a Button.
void MainFormLoad(object sender, EventArgs e)
{
this.Width=600;
this.Height=...
1
vote
2
answers
825
views
Adding a EventHandler function to button click event with sender as a parameter
Adding a EventHandler function to button click event with sender as a parameter.
let ButtonClicked (evArgs)=
DoSomthing...
button.Click.Add(fun evArgs -> ButtonClicked())
Code Works But I ...
1
vote
1
answer
1k
views
Custom ExpandableListView with Button in Header triggers its Event multiple times while expanded
I wrote a custom ExpandableListView which Header is a Relative Layout with a child of TextView and Button.
In GetGroupView I define a btn.Click delegate which starts a new Activity:
public ...
-1
votes
1
answer
2k
views
On c# the mousehover on a picturebox appear to do nothing.Do i need some kind of eventhandler?
I am trying to create a MouseHover event for a pictureBox, but I have had no luck so far:
private void pictureBox1_MouseHover(object sender, EventArgs e)
{
pictureBox1.Image = ArgyroCinema....
3
votes
2
answers
12k
views
How to set timer in an event handler?
Am currently building an app and I want the timer to start only when I click a particular button.
So is there anyway to start timer once a button is clicked? (I don't want the timer to start as soon ...
13
votes
2
answers
11k
views
JavaScript Event Listeners vs Event Handlers
Ok, I have been trying to figure this out for a long time now and finally have the time to investigate. As the title suggests "What is the difference"? I know that this works the way I want it to.
...