Questions tagged as 'eventos'

3
answers

Is it correct to call a method, and pass its null parameters?

For example, I have the click event of a button calling the method below: //Evento this.serviçoToolStripMenuItem1.Click += new System.EventHandler(this.Nivel_Serv_Click); //Metodo private void Nivel_Serv_Click(object sender, EventArgs e...
asked by 27.06.2017 / 12:36
5
answers

Event is not tied to element

I have an event in jQuery (version 1.5) as follows: $('#refresh_abertos').click(function(){ // aqui o código irrelevante nesta pergunta }); It turns out that my #refresh_abertos element is only loaded later via ajax ,...
asked by 21.01.2014 / 14:25
2
answers

Simulate key events in javascript

I'm looking for a way to simulate keypress of% via javascript to create an exclamation point shift + 1 for a series of tests (specs) in a framework in which I'm involved. I have used a framework (Syn) , jsFiddle example , but...
asked by 13.04.2014 / 22:51
1
answer

When is it useful to capture DOM events?

DOM events scroll through the document tree its target, with a capture phase and a bubbling phase. The default behavior when creating a listener with addEventListener is to treat the event in the bubbling phase. When is it useful to h...
asked by 15.06.2014 / 06:20
1
answer

How to create a glass pane in JavaScript?

I'm trying to create a " glass pane " in JavaScript, similar to or supported by Java . The goal is to offer a kind of interactive help to the user, where information about each element is superimposed on the screen, and all elements except the...
asked by 15.06.2014 / 08:31
2
answers

What is an event?

Much is heard about events: Shoot events; Schedule events; Trigger events ... Although much is found on the internet, none brings a concrete definition of what a programming event really is. So what is a programming event for what the...
asked by 25.05.2017 / 21:25
1
answer

What is the difference between event and delegate?

I have already understood how delegate and event works, but I have not seen event utility. For example: public delegate void ChangedEventHandler(object sender, BaseEventArgs e); public ChangedEventHandler Changed; The c...
asked by 04.04.2015 / 17:37
3
answers

Know if a video paused to upload?

I'm using shaka-player to play a dash stream from a Nimble server, but I've been reading that waiting event is not always the most reliable option, and in fact when the video stops loading the image simply freezes, and my event is...
asked by 25.04.2017 / 18:38
2
answers

Trigger event only once

I'm doing an interface in Visual Studio 2015, how do I perform an event only once? For example: private void textBox5_Click(object sender, EventArgs e) { textBox5.ForeColor = Color.Black; textBox5.SelectAll(); textBox5.Text =...
asked by 08.04.2016 / 19:31
2
answers

JQuery - Problem with MouseEnter () & MouseLeave () events

Situation: I have a menu, and I need it when an event of hover occurs, it display a series of information from its menu When the mouse is moved to another menu, the displayed information has to be hidden and display information from...
asked by 13.02.2014 / 19:00